summaryrefslogtreecommitdiffstats
path: root/template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-12-01 10:19:50 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-12-01 10:19:50 +0100
commit471f07f45a382c29f74e1c676bd081c3b304d7db (patch)
tree71c6fa49bbeef19e13651f1289e995412f621072 /template.h
parentcbfa21f8230d211cc1dfc3284c8d4437b6c5ebc1 (diff)
downloadrsyslog-471f07f45a382c29f74e1c676bd081c3b304d7db.tar.gz
rsyslog-471f07f45a382c29f74e1c676bd081c3b304d7db.tar.xz
rsyslog-471f07f45a382c29f74e1c676bd081c3b304d7db.zip
milestone: template supports CEE output via %$!all-json%
Diffstat (limited to 'template.h')
-rw-r--r--template.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/template.h b/template.h
index f7ac2e08..2fb8e1ae 100644
--- a/template.h
+++ b/template.h
@@ -25,6 +25,7 @@
#ifndef TEMPLATE_H_INCLUDED
#define TEMPLATE_H_INCLUDED 1
+#include <libestr.h>
#include "regexp.h"
#include "stringbuf.h"
@@ -88,6 +89,8 @@ struct templateEntry {
unsigned char field_delim; /* support for field-counting: field delemiter char */
int field_expand; /* use multiple instances of the field delimiter as a single one? */
+ es_str_t *propName; /**< property name (currently being used for CEE only) */
+
enum tplFormatTypes eDateFormat;
enum tplFormatCaseConvTypes eCaseConv;
struct { /* bit fields! */