diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-03 11:06:46 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-03 11:06:46 +0000 |
commit | 83b91cb8940986b365d58b04fe633fe396ff5d6b (patch) | |
tree | 2fed11b7eb3e50170f2ef8556e216300a247db07 /syslogd.h | |
parent | f500fbf50508c9c82d343a8ef6196ca25447402c (diff) | |
download | rsyslog-83b91cb8940986b365d58b04fe633fe396ff5d6b.tar.gz rsyslog-83b91cb8940986b365d58b04fe633fe396ff5d6b.tar.xz rsyslog-83b91cb8940986b365d58b04fe633fe396ff5d6b.zip |
adding sur5r's postgres module - many thanks for providing it! There are a
number of patches necessary to core modules, because we need a new
formatting function (date-pgsql).
Diffstat (limited to 'syslogd.h')
-rw-r--r-- | syslogd.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -59,6 +59,7 @@ void freeAllSockets(int **socks); int isAllowedSender(struct AllowedSenders *pAllowRoot, struct sockaddr *pFrom, const char *pszFromHost); void getCurrTime(struct syslogTime *t); 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); void untty(void); |