summaryrefslogtreecommitdiffstats
path: root/template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-04-27 09:42:53 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-04-27 09:42:53 +0200
commit9c76723c5b048afe4009f0528a6201741fec234a (patch)
treeca8674b92e4dbe9d6876226be737a28b467650b3 /template.h
parent354a410fad173b88c3b121376c2aca7898869ff0 (diff)
downloadrsyslog-9c76723c5b048afe4009f0528a6201741fec234a.tar.gz
rsyslog-9c76723c5b048afe4009f0528a6201741fec234a.tar.xz
rsyslog-9c76723c5b048afe4009f0528a6201741fec234a.zip
added capability to specify substrings for field extraction mode
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 f7ac2e08..d839be7e 100644
--- a/template.h
+++ b/template.h
@@ -67,6 +67,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;