summaryrefslogtreecommitdiffstats
path: root/template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-03-29 18:04:12 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-03-29 18:04:12 +0200
commitb88ba949f8d657034f808034321fabbd65bf8078 (patch)
tree2cf7d0c34d4e9fa6db3625d0833382d74fe7b698 /template.h
parent3dccce084a65376b7555aec77c4cf1368cdd9cb7 (diff)
downloadrsyslog-b88ba949f8d657034f808034321fabbd65bf8078.tar.gz
rsyslog-b88ba949f8d657034f808034321fabbd65bf8078.tar.xz
rsyslog-b88ba949f8d657034f808034321fabbd65bf8078.zip
added "date-unixtimestamp" property replacer option to format as a unix timestamp
Diffstat (limited to 'template.h')
-rw-r--r--template.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/template.h b/template.h
index b2cef271..a9eff6b1 100644
--- a/template.h
+++ b/template.h
@@ -51,7 +51,7 @@ struct template {
enum EntryTypes { UNDEFINED = 0, CONSTANT = 1, FIELD = 2 };
enum tplFormatTypes { tplFmtDefault = 0, tplFmtMySQLDate = 1,
tplFmtRFC3164Date = 2, tplFmtRFC3339Date = 3, tplFmtPgSQLDate = 4,
- tplFmtSecFrac = 5, tplFmtRFC3164BuggyDate = 6};
+ tplFmtSecFrac = 5, tplFmtRFC3164BuggyDate = 6, tplFmtUnixDate};
enum tplFormatCaseConvTypes { tplCaseConvNo = 0, tplCaseConvUpper = 1, tplCaseConvLower = 2 };
#include "msg.h"