summaryrefslogtreecommitdiffstats
path: root/runtime/datetime.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-25 16:21:01 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-25 16:21:01 +0200
commitc7b309a662a4310a8b878c036d9440e0b2e345a8 (patch)
tree17868591721a1cde29e5e9cfaadd92883478ad4a /runtime/datetime.h
parent4818b0081d3a265a87f9f646d79f2a2ffbcda819 (diff)
parent1f79c785975261e4158c9b85f6451d5bd00b2495 (diff)
downloadrsyslog-c7b309a662a4310a8b878c036d9440e0b2e345a8.tar.gz
rsyslog-c7b309a662a4310a8b878c036d9440e0b2e345a8.tar.bz2
rsyslog-c7b309a662a4310a8b878c036d9440e0b2e345a8.zip
Merge branch 'master' into v5-devel
Conflicts: runtime/queue.c
Diffstat (limited to 'runtime/datetime.h')
-rw-r--r--runtime/datetime.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/datetime.h b/runtime/datetime.h
index 1ea99aba..79a86d05 100644
--- a/runtime/datetime.h
+++ b/runtime/datetime.h
@@ -38,10 +38,10 @@ BEGINinterface(datetime) /* name must also be changed in ENDinterface macro! */
void (*getCurrTime)(struct syslogTime *t, time_t *ttSeconds);
rsRetVal (*ParseTIMESTAMP3339)(struct syslogTime *pTime, uchar** ppszTS);
rsRetVal (*ParseTIMESTAMP3164)(struct syslogTime *pTime, uchar** pszTS);
- int (*formatTimestampToMySQL)(struct syslogTime *ts, char* pDst, size_t iLenDst);
- 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 (*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 (*formatTimestampSecFrac)(struct syslogTime *ts, char* pBuf);
ENDinterface(datetime)
#define datetimeCURR_IF_VERSION 2 /* increment whenever you change the interface structure! */