In some cases the license-identification header was missing, so I added that as well. Replaced the remaining headers that specifically identified "Versions 3.13.7 and higher". Makefiles and the build system were deliberately excluded.
52 lines
1.5 KiB
C
52 lines
1.5 KiB
C
/*************************************************************************\
|
|
* Copyright (c) 2012 UChicago Argonne LLC, as Operator of Argonne
|
|
* National Laboratory.
|
|
* Copyright (c) 2002 The Regents of the University of California, as
|
|
* Operator of Los Alamos National Laboratory.
|
|
* SPDX-License-Identifier: EPICS
|
|
* EPICS BASE is distributed subject to a Software License Agreement found
|
|
* in file LICENSE that is included with this distribution.
|
|
\*************************************************************************/
|
|
|
|
#ifndef INC_errSymTbl_H
|
|
#define INC_errSymTbl_H
|
|
|
|
#include <stddef.h>
|
|
|
|
#include "libComAPI.h"
|
|
#include "epicsTypes.h"
|
|
|
|
/* ERRSYMBOL - entry in symbol table */
|
|
typedef struct {
|
|
long errNum; /* errMessage symbol number */
|
|
const char *name; /* pointer to symbol name */
|
|
} ERRSYMBOL;
|
|
|
|
/* ERRSYMTAB - symbol table */
|
|
typedef struct {
|
|
int nsymbols; /* current number of symbols in table */
|
|
ERRSYMBOL *symbols; /* ptr to array of symbol entries */
|
|
} ERRSYMTAB;
|
|
|
|
typedef ERRSYMTAB *ERRSYMTAB_ID;
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
LIBCOM_API void errSymLookup(long status, char *pBuf, size_t bufLength);
|
|
LIBCOM_API const char* errSymMsg(long status);
|
|
LIBCOM_API void errSymTest(epicsUInt16 modnum, epicsUInt16 begErrNum,
|
|
epicsUInt16 endErrNum);
|
|
LIBCOM_API void errSymTestPrint(long errNum);
|
|
LIBCOM_API int errSymBld(void);
|
|
LIBCOM_API int errSymbolAdd(long errNum, const char *name);
|
|
LIBCOM_API void errSymDump(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* INC_errSymTbl_H */
|