diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-25 10:25:38 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-25 10:25:38 +0000 |
commit | 4c69b80ca0366db28bbbb46ddd03dfbc9d85b09c (patch) | |
tree | 09bdad5c352f1635ddeaa9d550d6330a0435f321 /syslogd-types.h | |
parent | c8eca687f4f0ee08d927e72da1289ffc9d8ff01c (diff) | |
download | rsyslog-4c69b80ca0366db28bbbb46ddd03dfbc9d85b09c.tar.gz rsyslog-4c69b80ca0366db28bbbb46ddd03dfbc9d85b09c.tar.bz2 rsyslog-4c69b80ca0366db28bbbb46ddd03dfbc9d85b09c.zip |
changed output modules to use a template-based code generation system for
standard entry points (implemented via preprocessor)
Diffstat (limited to 'syslogd-types.h')
-rw-r--r-- | syslogd-types.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |