From 8193522d85290df659d8c2e505e8c47f39db9267 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 27 Jul 2007 09:15:11 +0000 Subject: - added omsr object (objomsr.c, objomsr.h) - template request for output modules --- syslogd-types.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'syslogd-types.h') 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 -- cgit