summaryrefslogtreecommitdiffstats
path: root/template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-04-26 16:03:30 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-04-26 16:03:30 +0200
commit45dc0db51e78d3d6ef296f0cfd7a7a775e91415c (patch)
tree29532050057e47e532f9d376aaae33b8aed57940 /template.h
parent9ec02e670a5fec3d42d567ec593f618dfc9cacb8 (diff)
parent5624012710ea75acfd892903f05a6df69a51be39 (diff)
downloadrsyslog-45dc0db51e78d3d6ef296f0cfd7a7a775e91415c.tar.gz
rsyslog-45dc0db51e78d3d6ef296f0cfd7a7a775e91415c.tar.bz2
rsyslog-45dc0db51e78d3d6ef296f0cfd7a7a775e91415c.zip
Merge branch 'master-fieldext'
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 f55f64b3..e41823e9 100644
--- a/template.h
+++ b/template.h
@@ -69,6 +69,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;