From 4c69b80ca0366db28bbbb46ddd03dfbc9d85b09c Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 25 Jul 2007 10:25:38 +0000 Subject: changed output modules to use a template-based code generation system for standard entry points (implemented via preprocessor) --- syslogd-types.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'syslogd-types.h') diff --git a/syslogd-types.h b/syslogd-types.h index a9a045a1..a4c70ca0 100644 --- a/syslogd-types.h +++ b/syslogd-types.h @@ -156,6 +156,7 @@ struct filed { rsCStrObj *pCSHostnameComp;/* hostname to check */ rsCStrObj *pCSProgNameComp; /* tag to check or NULL, if not to be checked */ struct moduleInfo *pMod; /* pointer to output module handling this selector */ + void *pModData; /* pointer to module data - contents is module-specific */ union { u_char f_pmask[LOG_NFACILITIES+1]; /* priority mask */ struct { @@ -171,6 +172,7 @@ struct filed { char isNegated; /* actually a boolean ;) */ } prop; } f_filterData; +#if 1 union { char f_uname[MAXUNAMES][UNAMESZ+1]; #ifdef WITH_DB @@ -232,6 +234,7 @@ struct filed { char *f_sizeLimitCmd; /* command to carry out when size limit is reached */ } f_file; } f_un; +#endif int f_ReduceRepeated; /* reduce repeated lines 0 - no, 1 - yes */ int f_prevcount; /* repetition cnt of prevline */ int f_repeatcount; /* number of "repeated" msgs */ -- cgit v1.2.3