summaryrefslogtreecommitdiffstats
path: root/runtime/netstrm.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-02 13:11:18 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-02 13:11:18 +0200
commitb61e5fffc42c98b49a18a95c297653fb0ba06b72 (patch)
tree48dec238d72f866ce520fedbdb0cc0f82bfed943 /runtime/netstrm.h
parent05ba5fc29fb13857b6fbb7c8f3c22489da3e73cf (diff)
downloadrsyslog-b61e5fffc42c98b49a18a95c297653fb0ba06b72.tar.gz
rsyslog-b61e5fffc42c98b49a18a95c297653fb0ba06b72.tar.xz
rsyslog-b61e5fffc42c98b49a18a95c297653fb0ba06b72.zip
strmsrv now supports KEEPALIVE socket option
Diffstat (limited to 'runtime/netstrm.h')
-rw-r--r--runtime/netstrm.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/netstrm.h b/runtime/netstrm.h
index b00dd223..f6931104 100644
--- a/runtime/netstrm.h
+++ b/runtime/netstrm.h
@@ -69,9 +69,13 @@ BEGINinterface(netstrm) /* name must also be changed in ENDinterface macro! */
* sockets - not really desirable, but not the end of the world... TODO: should be
* reconsidered when a new ACL system is build. -- rgerhards, 2008-12-01
*/
+ /* v4 */
+ rsRetVal (*EnableKeepAlive)(netstrm_t *pThis);
ENDinterface(netstrm)
-#define netstrmCURR_IF_VERSION 3 /* increment whenever you change the interface structure! */
-/* interface version 3 added GetRemAddr() */
+#define netstrmCURR_IF_VERSION 4 /* increment whenever you change the interface structure! */
+/* interface version 3 added GetRemAddr()
+ * interface version 4 added EnableKeepAlive() -- rgerhards, 2009-06-02
+ * */
/* prototypes */
PROTOTYPEObj(netstrm);