diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-03-30 09:55:45 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-03-30 09:55:45 +0200 |
commit | 2fbac28d3c1335e1283596b4f574fd55d8117fd6 (patch) | |
tree | 92643709a1a5cc7b27cd0dc79861564edccb5393 /runtime/datetime.h | |
parent | b88ba949f8d657034f808034321fabbd65bf8078 (diff) | |
download | rsyslog-2fbac28d3c1335e1283596b4f574fd55d8117fd6.tar.gz rsyslog-2fbac28d3c1335e1283596b4f574fd55d8117fd6.tar.bz2 rsyslog-2fbac28d3c1335e1283596b4f574fd55d8117fd6.zip |
ommongodb: now writes a real timestamp into mongo
Diffstat (limited to 'runtime/datetime.h')
-rw-r--r-- | runtime/datetime.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/datetime.h b/runtime/datetime.h index bb5e5292..9f3611e1 100644 --- a/runtime/datetime.h +++ b/runtime/datetime.h @@ -46,6 +46,7 @@ BEGINinterface(datetime) /* name must also be changed in ENDinterface macro! */ void (*timeval2syslogTime)(struct timeval *tp, struct syslogTime *t); /* v7, 2012-03-29 */ int (*formatTimestampUnix)(struct syslogTime *ts, char*pBuf); + time_t (*syslogTime2time_t)(struct syslogTime *ts); ENDinterface(datetime) #define datetimeCURR_IF_VERSION 7 /* increment whenever you change the interface structure! */ /* interface changes: |