diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-05 07:56:57 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-05 07:56:57 +0100 |
commit | b3c8528b5087289c9b1f357f98f890190a5621a0 (patch) | |
tree | ad0cefb7902ab3de9b2d2fb72be2bcbb8ddadcbf /runtime/datetime.h | |
parent | 5402ba982fd8c9bb9ce7fab43ddabaa174ab0794 (diff) | |
download | rsyslog-b3c8528b5087289c9b1f357f98f890190a5621a0.tar.gz rsyslog-b3c8528b5087289c9b1f357f98f890190a5621a0.tar.xz rsyslog-b3c8528b5087289c9b1f357f98f890190a5621a0.zip |
added new property replacer option "date-rfc3164-buggyday"
primarily to ease migration from syslog-ng. See property replacer doc
for details.
Diffstat (limited to 'runtime/datetime.h')
-rw-r--r-- | runtime/datetime.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/datetime.h b/runtime/datetime.h index 1de3db95..647f3096 100644 --- a/runtime/datetime.h +++ b/runtime/datetime.h @@ -39,12 +39,12 @@ BEGINinterface(datetime) /* name must also be changed in ENDinterface macro! */ int (*formatTimestampToMySQL)(struct syslogTime *ts, char* pDst); int (*formatTimestampToPgSQL)(struct syslogTime *ts, char *pDst); int (*formatTimestamp3339)(struct syslogTime *ts, char* pBuf); - int (*formatTimestamp3164)(struct syslogTime *ts, char* pBuf); + int (*formatTimestamp3164)(struct syslogTime *ts, char* pBuf, int); int (*formatTimestampSecFrac)(struct syslogTime *ts, char* pBuf); /* v3, 2009-11-12 */ time_t (*GetTime)(time_t *ttSeconds); ENDinterface(datetime) -#define datetimeCURR_IF_VERSION 3 /* increment whenever you change the interface structure! */ +#define datetimeCURR_IF_VERSION 4 /* increment whenever you change the interface structure! */ /* interface changes: * 1 - initial version * 2 - not compatible to 1 - bugfix required ParseTIMESTAMP3164 to accept char ** as |