summaryrefslogtreecommitdiffstats
path: root/template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2004-12-08 09:31:30 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2004-12-08 09:31:30 +0000
commitba69aa639557cc57c6a07324567644eef2559e3b (patch)
tree2d57a543064341feeb62a72240dd150bcc3d080f /template.h
parentb963b1c275a53aa250c0362d015105ba953b3b87 (diff)
downloadrsyslog-ba69aa639557cc57c6a07324567644eef2559e3b.tar.gz
rsyslog-ba69aa639557cc57c6a07324567644eef2559e3b.tar.xz
rsyslog-ba69aa639557cc57c6a07324567644eef2559e3b.zip
property option drop-last-lf added; some doc in test.conf
Diffstat (limited to 'template.h')
-rw-r--r--template.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/template.h b/template.h
index c9e71875..eabe9aa9 100644
--- a/template.h
+++ b/template.h
@@ -37,7 +37,9 @@ struct templateEntry {
unsigned iToPos; /* up to that one... */
enum tplFormatTypes eDateFormat;
enum tplFormatCaseConvTypes eCaseConv;
- struct {
+ struct { /* bit fields! */
+ unsigned bEscapeCC: 1; /* escape control characters? */
+ unsigned bDropLastLF: 1; /* drop last LF char in msg (PIX!) */
} options; /* options as bit fields */
} field;
} data;