Files
sics/outcode.h
Koennecke Mark 66466c1c0f This is the first working version of the new logging system. Some work
in fine tuning still needs to be done. But is reasonably OK now.
2016-02-11 13:40:31 +01:00

36 lines
771 B
C

/* ------------------------------------------------------------------------
The OutCode's for SICS have to be translated from text at several
places in SICS. Wherever necessary such code should include this file.
This restricts changes to Scommon.h and this file
Mark Koennecke, November 1996
----------------------------------------------------------------------------*/
#ifndef POUTCODE
#define POUTCODE
static char *pCode[] = {
"internal",
"command",
"hwerror",
"inerror",
"status",
"value",
"start",
"finish",
"event",
"warning",
"error",
"hdbvalue",
"hdbevent",
"log",
"logerror",
NULL
};
static int iNoCodes = 15;
const char* OutCodeToTxt(OutCode eOut);
int OutCodeFromText(const char *text, OutCode *outcode);
#endif