diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-08-25 19:21:12 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-08-25 19:21:12 +0200 |
commit | 3d56820f130e6c1b674560125e677be3b6a2d8f4 (patch) | |
tree | 80056c32bf315bfd7e8b7d47491e655018b715b2 /template.h | |
parent | 00c4f69c559e5ba036e20a095843a1ca6eba57c8 (diff) | |
download | rsyslog-3d56820f130e6c1b674560125e677be3b6a2d8f4.tar.gz rsyslog-3d56820f130e6c1b674560125e677be3b6a2d8f4.tar.xz rsyslog-3d56820f130e6c1b674560125e677be3b6a2d8f4.zip |
add capability to configure outname for constant (inside template)
also some cleanup
Diffstat (limited to 'template.h')
-rw-r--r-- | template.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,6 +68,7 @@ enum tplRegexType { TPL_REGEX_BRE = 0, /* posix BRE */ struct templateEntry { struct templateEntry *pNext; enum EntryTypes eEntryType; + es_str_t *fieldName; /**< field name to be used for structured output */ union { struct { uchar *pConstant; /* pointer to constant value */ @@ -99,7 +100,6 @@ struct templateEntry { #endif es_str_t *propName; /**< property name (currently being used for CEE only) */ - es_str_t *fieldName; /**< field name to be used for structured output */ enum tplFormatTypes eDateFormat; enum tplFormatCaseConvTypes eCaseConv; |