summaryrefslogtreecommitdiffstats
path: root/template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2004-11-25 10:03:18 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2004-11-25 10:03:18 +0000
commit7720bcded1fe377b3c7defb0ea76dd9aa040c31d (patch)
tree853a5289b6c6bf37545867ce650e9c9243d40eec /template.h
parent86e92fc4c9608d0e64783fac40c849b3a48fed77 (diff)
downloadrsyslog-7720bcded1fe377b3c7defb0ea76dd9aa040c31d.tar.gz
rsyslog-7720bcded1fe377b3c7defb0ea76dd9aa040c31d.tar.xz
rsyslog-7720bcded1fe377b3c7defb0ea76dd9aa040c31d.zip
fixed the bug, template engine should now work
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 5f09dd8d..c9e71875 100644
--- a/template.h
+++ b/template.h
@@ -18,7 +18,8 @@ struct template {
};
enum EntryTypes { UNDEFINED = 0, CONSTANT = 1, FIELD = 2 };
-enum tplFormatTypes { tplFmtDefault = 0, tplFmtMySQLDate = 1 };
+enum tplFormatTypes { tplFmtDefault = 0, tplFmtMySQLDate = 1,
+ tplFmtRFC3164Date = 2, tplFmtRFC3339Date = 3 };
enum tplFormatCaseConvTypes { tplCaseConvNo = 0, tplCaseConvUpper = 1, tplCaseConvLower = 2 };
/* a specific parse entry */