summaryrefslogtreecommitdiffstats
path: root/template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-03-16 08:21:12 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-03-16 08:21:12 +0100
commit62b7a1b8a828446aa75ac138333a4fa019898fb1 (patch)
tree59f7c4383610fa896ce2f1946bf2b2463a65213a /template.h
parent66ab2a70e5bcc9637dfec89c6134abe10b96dde8 (diff)
downloadrsyslog-62b7a1b8a828446aa75ac138333a4fa019898fb1.tar.gz
rsyslog-62b7a1b8a828446aa75ac138333a4fa019898fb1.tar.xz
rsyslog-62b7a1b8a828446aa75ac138333a4fa019898fb1.zip
added "json" property replacer option
Diffstat (limited to 'template.h')
-rw-r--r--template.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/template.h b/template.h
index d394809b..b2cef271 100644
--- a/template.h
+++ b/template.h
@@ -2,7 +2,7 @@
* Please see syslogd.c for license information.
* begun 2004-11-17 rgerhards
*
- * Copyright (C) 2004 by Rainer Gerhards and Adiscon GmbH
+ * Copyright (C) 2004-2012 by Rainer Gerhards and Adiscon GmbH
*
* This file is part of rsyslog.
*
@@ -103,6 +103,7 @@ struct templateEntry {
unsigned bSecPathReplace: 1; /* replace slashes, replace dots, empty string */
unsigned bSPIffNo1stSP: 1; /* replace slashes, replace dots, empty string */
unsigned bCSV: 1; /* format field in CSV (RFC 4180) format */
+ unsigned bJSON: 1; /* format field JSON escaped */
} options; /* options as bit fields */
} field;
} data;