summaryrefslogtreecommitdiffstats
path: root/template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-04-27 09:55:11 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-04-27 09:55:11 +0200
commit9801893b29ea47ade4b915e3eac79bcdc5ce74aa (patch)
tree305e277ab9faa5941d151eae68f5d04fc41e9129 /template.h
parentfb5cd633e6f4852841354fcf55c971063cc6a871 (diff)
parent9c76723c5b048afe4009f0528a6201741fec234a (diff)
downloadrsyslog-9801893b29ea47ade4b915e3eac79bcdc5ce74aa.tar.gz
rsyslog-9801893b29ea47ade4b915e3eac79bcdc5ce74aa.tar.xz
rsyslog-9801893b29ea47ade4b915e3eac79bcdc5ce74aa.zip
Merge branch 'v5-stable-field-substring' into v5-beta
Diffstat (limited to 'template.h')
-rw-r--r--template.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/template.h b/template.h
index b5598b6d..e659659f 100644
--- a/template.h
+++ b/template.h
@@ -68,6 +68,7 @@ struct templateEntry {
propid_t propid; /* property to be used */
unsigned iFromPos; /* for partial strings only chars from this position ... */
unsigned iToPos; /* up to that one... */
+ unsigned iFieldNr; /* for field extraction: field to extract */
#ifdef FEATURE_REGEXP
regex_t re; /* APR: this is the regular expression */
short has_regex;