diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-06 12:00:30 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-06 12:00:30 +0200 |
commit | bb6f5dc40f39220a2cdb05e94d70aac42d971ac4 (patch) | |
tree | 7e3b5ea5a00171c519e1c1f8c1f97de3a3a1aa9a /runtime/netstrm.h | |
parent | ddea340e665a657bc6be88176130d1221c0dec3d (diff) | |
parent | 74b81c8c01b26a142793a4861340996ed956f5f6 (diff) | |
download | rsyslog-bb6f5dc40f39220a2cdb05e94d70aac42d971ac4.tar.gz rsyslog-bb6f5dc40f39220a2cdb05e94d70aac42d971ac4.tar.bz2 rsyslog-bb6f5dc40f39220a2cdb05e94d70aac42d971ac4.zip |
Merge branch 'v6-devel'
Diffstat (limited to 'runtime/netstrm.h')
-rw-r--r-- | runtime/netstrm.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/netstrm.h b/runtime/netstrm.h index f6931104..ee8d9e59 100644 --- a/runtime/netstrm.h +++ b/runtime/netstrm.h @@ -53,7 +53,7 @@ BEGINinterface(netstrm) /* name must also be changed in ENDinterface macro! */ rsRetVal (*SetDrvrMode)(netstrm_t *pThis, int iMode); rsRetVal (*SetDrvrAuthMode)(netstrm_t *pThis, uchar*); rsRetVal (*SetDrvrPermPeers)(netstrm_t *pThis, permittedPeers_t*); - void (*CheckConnection)(netstrm_t *pThis); /* This is a trick mostly for plain tcp syslog */ + rsRetVal (*CheckConnection)(netstrm_t *pThis); /* This is a trick mostly for plain tcp syslog */ /* the GetSock() below is a hack to make imgssapi work. In the long term, * we should migrate imgssapi to a stream driver, which will relieve us of * this problem. Please note that nobody else should use GetSock(). Using it @@ -72,9 +72,10 @@ BEGINinterface(netstrm) /* name must also be changed in ENDinterface macro! */ /* v4 */ rsRetVal (*EnableKeepAlive)(netstrm_t *pThis); ENDinterface(netstrm) -#define netstrmCURR_IF_VERSION 4 /* increment whenever you change the interface structure! */ +#define netstrmCURR_IF_VERSION 5 /* increment whenever you change the interface structure! */ /* interface version 3 added GetRemAddr() * interface version 4 added EnableKeepAlive() -- rgerhards, 2009-06-02 + * interface version 5 changed return of CheckConnection from void to rsRetVal -- alorbach, 2012-09-06 * */ /* prototypes */ |