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/strmsrv.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/strmsrv.h')
-rw-r--r-- | runtime/strmsrv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/strmsrv.h b/runtime/strmsrv.h index e63d3a47..86e529c3 100644 --- a/runtime/strmsrv.h +++ b/runtime/strmsrv.h @@ -38,6 +38,7 @@ struct strmLstnPortList_s { /* the strmsrv object */ struct strmsrv_s { BEGINobjInstance; /**< Data to implement generic object - MUST be the first data element! */ + int bUseKeepAlive; /**< use socket layer KEEPALIVE handling? */ netstrms_t *pNS; /**< pointer to network stream subsystem */ int iDrvrMode; /**< mode of the stream driver to use */ uchar *pszDrvrAuthMode; /**< auth mode of the stream driver to use */ @@ -80,6 +81,7 @@ BEGINinterface(strmsrv) /* name must also be changed in ENDinterface macro! */ /* set methods */ rsRetVal (*SetAddtlFrameDelim)(strmsrv_t*, int); rsRetVal (*SetInputName)(strmsrv_t*, uchar*); + rsRetVal (*SetKeepAlive)(strmsrv_t*, int); rsRetVal (*SetUsrP)(strmsrv_t*, void*); rsRetVal (*SetCBIsPermittedHost)(strmsrv_t*, int (*) (struct sockaddr *addr, char*, void*, void*)); rsRetVal (*SetCBOpenLstnSocks)(strmsrv_t *, rsRetVal (*)(strmsrv_t*)); |