diff options
Diffstat (limited to 'syslogd-types.h')
-rw-r--r-- | syslogd-types.h | 5 |
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 |