summaryrefslogtreecommitdiffstats
path: root/template.h
diff options
context:
space:
mode:
authorZhuang Yuyao <netone.z@gmail.com>2008-09-10 12:18:34 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-09-10 12:18:34 +0200
commitd65470842d1455fd335fcd62e54aed01628a2af6 (patch)
tree9199c9c35243a43f08f50fabfc090986157cbe2e /template.h
parentae425d47c53da7ba669b7c6fbe48381eda83180a (diff)
downloadrsyslog-d65470842d1455fd335fcd62e54aed01628a2af6.tar.gz
rsyslog-d65470842d1455fd335fcd62e54aed01628a2af6.tar.xz
rsyslog-d65470842d1455fd335fcd62e54aed01628a2af6.zip
added new capability to property replacer.
Multiple immediately successive field delimiters are treated as a single one. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
Diffstat (limited to 'template.h')
-rw-r--r--template.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/template.h b/template.h
index 6e889c58..15b700b3 100644
--- a/template.h
+++ b/template.h
@@ -84,6 +84,8 @@ struct templateEntry {
#endif
unsigned has_fields; /* support for field-counting: field to extract */
unsigned char field_delim; /* support for field-counting: field delemiter char */
+ int field_expand; /* use multiple instances of the field delimiter as a single one? */
+
enum tplFormatTypes eDateFormat;
enum tplFormatCaseConvTypes eCaseConv;
struct { /* bit fields! */