summaryrefslogtreecommitdiffstats
path: root/cfsysline.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-31 15:23:28 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-31 15:23:28 +0000
commit074ece90c0b7f32307716eeb6d0308b83197b6ce (patch)
tree707340dde192c4c4ac8b196f6da2d26bbfc22247 /cfsysline.h
parent7449e8356b19900acaa33e387bd4ea65ba85e204 (diff)
downloadrsyslog-074ece90c0b7f32307716eeb6d0308b83197b6ce.tar.gz
rsyslog-074ece90c0b7f32307716eeb6d0308b83197b6ce.tar.xz
rsyslog-074ece90c0b7f32307716eeb6d0308b83197b6ce.zip
- got the basic code in place to create an in-memory list of cfsysline
handlers (omfile.c used as testing case) -- not yet in active code
Diffstat (limited to 'cfsysline.h')
-rw-r--r--cfsysline.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cfsysline.h b/cfsysline.h
index 953b6bb3..d319ed32 100644
--- a/cfsysline.h
+++ b/cfsysline.h
@@ -30,7 +30,7 @@ typedef enum cslCmdHdlrType {
eCmdHdlrInvalid = 0, /* invalid handler type - indicates a coding error */
eCmdHdlrCustomHandler, /* custom handler, just call handler function */
eCmdHdlrUID,
- eCmdHdlrGUID,
+ eCmdHdlrGID,
eCmdHdlrBinary,
eCmdHdlrFileCreateMode,
eCmdHdlrInt,
@@ -54,7 +54,7 @@ typedef struct cslCmdHdlr_s cslCmdHdlr_t;
* The short name is cslc (Configfile SysLine Command)
*/
struct cslCmd_s { /* config file sysline parse entry */
- linkedList_t *pllCmdHdlrs; /* linked list of command handlers */
+ linkedList_t llCmdHdlrs; /* linked list of command handlers */
};
typedef struct cslCmd_s cslCmd_t;
@@ -66,6 +66,7 @@ rsRetVal cslchCallHdlr(cslCmdHdlr_t *pThis, uchar **ppConfLine);
rsRetVal cslcConstruct(cslCmd_t **ppThis);
rsRetVal regCfSysLineHdlr(uchar *pCmdName, ecslCmdHdrlType eType, rsRetVal (*pHdlr)(), void *pData);
rsRetVal cfsyslineInit(void);
+void dbgPrintCfSysLineHandlers(void);
/* the next ones go away later */
rsRetVal doBinaryOptionLine(uchar **pp, rsRetVal (*pSetHdlr)(void*, int), void *pVal);