diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-22 17:55:35 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-22 17:55:35 +0200 |
commit | 7d39740b3d88dbd0432806e5f8da32c49cdb69f1 (patch) | |
tree | 452e5e27c13b49c5b1910f70a283e3a533ee1283 /template.h | |
parent | e4e19176298d6ac76c463565fa192c2349731156 (diff) | |
download | rsyslog-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.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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; |