diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-02 13:11:18 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-02 13:11:18 +0200 |
commit | b61e5fffc42c98b49a18a95c297653fb0ba06b72 (patch) | |
tree | 48dec238d72f866ce520fedbdb0cc0f82bfed943 /runtime/nsd.h | |
parent | 05ba5fc29fb13857b6fbb7c8f3c22489da3e73cf (diff) | |
download | rsyslog-b61e5fffc42c98b49a18a95c297653fb0ba06b72.tar.gz rsyslog-b61e5fffc42c98b49a18a95c297653fb0ba06b72.tar.xz rsyslog-b61e5fffc42c98b49a18a95c297653fb0ba06b72.zip |
strmsrv now supports KEEPALIVE socket option
Diffstat (limited to 'runtime/nsd.h')
-rw-r--r-- | runtime/nsd.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/nsd.h b/runtime/nsd.h index f0c9b9b6..8668c934 100644 --- a/runtime/nsd.h +++ b/runtime/nsd.h @@ -69,9 +69,13 @@ BEGINinterface(nsd) /* 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 */ + /* v5 */ + rsRetVal (*EnableKeepAlive)(nsd_t *pThis); ENDinterface(nsd) -#define nsdCURR_IF_VERSION 4 /* increment whenever you change the interface structure! */ -/* interface version 4 added GetRemAddr() */ +#define nsdCURR_IF_VERSION 5 /* increment whenever you change the interface structure! */ +/* interface version 4 added GetRemAddr() + * interface version 5 added EnableKeepAlive() -- rgerhards, 2009-06-02 + */ /* interface for the select call */ BEGINinterface(nsdsel) /* name must also be changed in ENDinterface macro! */ |