diff options
Diffstat (limited to 'template.h')
-rw-r--r-- | template.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -48,7 +48,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}; + tplFmtSecFrac = 5, tplFmtStrftime = 6}; enum tplFormatCaseConvTypes { tplCaseConvNo = 0, tplCaseConvUpper = 1, tplCaseConvLower = 2 }; #include "msg.h" @@ -88,6 +88,7 @@ struct templateEntry { int field_expand; /* use multiple instances of the field delimiter as a single one? */ enum tplFormatTypes eDateFormat; + char *strftime_fmt; /* for the tplFormatStrftime eDateFormat */ enum tplFormatCaseConvTypes eCaseConv; struct { /* bit fields! */ unsigned bDropCC: 1; /* drop control characters? */ |