summaryrefslogtreecommitdiffstats
path: root/template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-04-02 12:48:07 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-04-02 12:48:07 +0200
commit3954f2e166c3cbd78c71819c8d6c25120042dbcf (patch)
tree2c70fa3bb36f763490146e1fa6e205600f5afb34 /template.h
parente4f012eb60f6531f964557ba9eac54048ae2bef8 (diff)
downloadrsyslog-3954f2e166c3cbd78c71819c8d6c25120042dbcf.tar.gz
rsyslog-3954f2e166c3cbd78c71819c8d6c25120042dbcf.tar.xz
rsyslog-3954f2e166c3cbd78c71819c8d6c25120042dbcf.zip
added new "csv" property replacer option
to enable simple creation of CSV-formatted outputs (format from RFC4180 is used)
Diffstat (limited to 'template.h')
-rw-r--r--template.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/template.h b/template.h
index 04137b09..6ca8dc6c 100644
--- a/template.h
+++ b/template.h
@@ -94,9 +94,10 @@ struct templateEntry {
unsigned bSpaceCC: 1; /* change control characters to spaceescape? */
unsigned bEscapeCC: 1; /* escape control characters? */
unsigned bDropLastLF: 1; /* drop last LF char in msg (PIX!) */
- unsigned bSecPathDrop: 1; /* drop slashes, replace dots, empty string */
- unsigned bSecPathReplace: 1; /* replace slashes, replace dots, empty string */
- unsigned bSPIffNo1stSP: 1; /* replace slashes, replace dots, empty string */
+ unsigned bSecPathDrop: 1; /* drop slashes, replace dots, empty string */
+ 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 */
} options; /* options as bit fields */
} field;
} data;