From 2687d0010ca0ec691235a69c9da021719b61e8cd Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 6 Jun 2008 17:33:58 +0200 Subject: added new property replacer option "time-subseconds" enables to query just the subsecond part of a high-precision timestamp --- runtime/datetime.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime/datetime.h') diff --git a/runtime/datetime.h b/runtime/datetime.h index fcb78172..1012ccc1 100644 --- a/runtime/datetime.h +++ b/runtime/datetime.h @@ -43,8 +43,9 @@ BEGINinterface(datetime) /* name must also be changed in ENDinterface macro! */ int (*formatTimestampToPgSQL)(struct syslogTime *ts, char *pDst, size_t iLenDst); int (*formatTimestamp3339)(struct syslogTime *ts, char* pBuf, size_t iLenBuf); int (*formatTimestamp3164)(struct syslogTime *ts, char* pBuf, size_t iLenBuf); + int (*formatTimestampSecFrac)(struct syslogTime *ts, char* pBuf, size_t iLenBuf); ENDinterface(datetime) -#define datetimeCURR_IF_VERSION 1 /* increment whenever you change the interface structure! */ +#define datetimeCURR_IF_VERSION 2 /* increment whenever you change the interface structure! */ /* prototypes */ PROTOTYPEObj(datetime); -- cgit v1.2.3