summaryrefslogtreecommitdiffstats
path: root/template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-10-22 17:55:35 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-10-22 17:55:35 +0200
commit7d39740b3d88dbd0432806e5f8da32c49cdb69f1 (patch)
tree452e5e27c13b49c5b1910f70a283e3a533ee1283 /template.h
parente4e19176298d6ac76c463565fa192c2349731156 (diff)
downloadrsyslog-7d39740b3d88dbd0432806e5f8da32c49cdb69f1.tar.gz
rsyslog-7d39740b3d88dbd0432806e5f8da32c49cdb69f1.tar.bz2
rsyslog-7d39740b3d88dbd0432806e5f8da32c49cdb69f1.zip
refactor: use common code for message property description processing
in all cases except script var access -- this comes next...
Diffstat (limited to 'template.h')
-rw-r--r--template.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/template.h b/template.h
index 5caf5e19..1f612eaf 100644
--- a/template.h
+++ b/template.h
@@ -80,7 +80,7 @@ struct templateEntry {
int iLenConstant; /* its length */
} constant;
struct {
- propid_t propid; /* property to be used */
+ msgPropDescr_t msgProp; /* 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 */
@@ -104,8 +104,6 @@ struct templateEntry {
int field_expand; /* use multiple instances of the field delimiter as a single one? */
#endif
- uchar *propName;
- int propNameLen;
enum tplFormatTypes eDateFormat;
enum tplFormatCaseConvTypes eCaseConv;