summaryrefslogtreecommitdiffstats
path: root/template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2006-09-27 15:54:07 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2006-09-27 15:54:07 +0000
commit64dc3591f4cd8a7eab27d689f2b8f5db4eb56517 (patch)
treea3801defe1f54fb5a0cf86422f4d3cc6d8ab985e /template.h
parent5d449b79e0f7ba7c3b2f312409bdd94745caa4a4 (diff)
downloadrsyslog-64dc3591f4cd8a7eab27d689f2b8f5db4eb56517.tar.gz
rsyslog-64dc3591f4cd8a7eab27d689f2b8f5db4eb56517.tar.xz
rsyslog-64dc3591f4cd8a7eab27d689f2b8f5db4eb56517.zip
made the field-delimiter inside property replacer (templates) configurable
Diffstat (limited to 'template.h')
-rw-r--r--template.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/template.h b/template.h
index 8fde34a9..591a8c98 100644
--- a/template.h
+++ b/template.h
@@ -48,7 +48,8 @@ struct templateEntry {
regex_t re; /* APR: this is the regular expression */
unsigned has_regex;
#endif
- unsigned has_fields; /* support for field-couting */
+ unsigned has_fields; /* support for field-counting: field to extract */
+ unsigned char field_delim; /* support for field-counting: field delemiter char */
enum tplFormatTypes eDateFormat;
enum tplFormatCaseConvTypes eCaseConv;
struct { /* bit fields! */