summaryrefslogtreecommitdiffstats
path: root/syslogd-types.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-25 10:25:38 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-25 10:25:38 +0000
commit4c69b80ca0366db28bbbb46ddd03dfbc9d85b09c (patch)
tree09bdad5c352f1635ddeaa9d550d6330a0435f321 /syslogd-types.h
parentc8eca687f4f0ee08d927e72da1289ffc9d8ff01c (diff)
downloadrsyslog-4c69b80ca0366db28bbbb46ddd03dfbc9d85b09c.tar.gz
rsyslog-4c69b80ca0366db28bbbb46ddd03dfbc9d85b09c.tar.xz
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.h3
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 */