summaryrefslogtreecommitdiffstats
path: root/syslogd-types.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-27 09:15:11 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-27 09:15:11 +0000
commit8193522d85290df659d8c2e505e8c47f39db9267 (patch)
treefa5bcc05843c76b03ba409b21a128cfc49b9fb48 /syslogd-types.h
parent4d419a0ee271ef6d752a2d3b9d880651a46383d8 (diff)
downloadrsyslog-8193522d85290df659d8c2e505e8c47f39db9267.tar.gz
rsyslog-8193522d85290df659d8c2e505e8c47f39db9267.tar.xz
rsyslog-8193522d85290df659d8c2e505e8c47f39db9267.zip
- added omsr object (objomsr.c, objomsr.h) - template request for output
modules
Diffstat (limited to 'syslogd-types.h')
-rw-r--r--syslogd-types.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/syslogd-types.h b/syslogd-types.h
index 5e4d262a..1792f509 100644
--- a/syslogd-types.h
+++ b/syslogd-types.h
@@ -158,7 +158,10 @@ struct filed {
int f_ReduceRepeated; /* reduce repeated lines 0 - no, 1 - yes */
int f_prevcount; /* repetition cnt of prevline */
int f_repeatcount; /* number of "repeated" msgs */
- struct template *f_pTpl; /* pointer to template to use */
+ int iNumTpls; /* number of array entries for template element below */
+ struct template **ppTpl; /* array of template to use - strings must be passed to doAction
+ * in this order. */
+ struct template __attribute__((deprecated)) *f_pTpl; /* pointer to template to use */
struct msg* f_pMsg; /* pointer to the message (this will
* replace the other vars with msg
* content later). This is preserved after