diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-30 18:53:21 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-30 18:53:21 +0200 |
commit | da889001432c7a9242d8a6ef947fe6887dc366f3 (patch) | |
tree | ac25db9964e73292a06c0a5cbe99b106889eb32e /tcpsrv.h | |
parent | 7350595761d32b93c6ae0e2d31cbcb880371fd9c (diff) | |
download | rsyslog-da889001432c7a9242d8a6ef947fe6887dc366f3.tar.gz rsyslog-da889001432c7a9242d8a6ef947fe6887dc366f3.tar.xz rsyslog-da889001432c7a9242d8a6ef947fe6887dc366f3.zip |
added $InputTCPServerStreamDriverMode config directive
Diffstat (limited to 'tcpsrv.h')
-rw-r--r-- | tcpsrv.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -29,6 +29,7 @@ struct tcpsrv_s { BEGINobjInstance; /**< Data to implement generic object - MUST be the first data element! */ netstrms_t *pNS; /**< pointer to network stream subsystem */ + int iDrvrMode; /**< mode of the stream driver to use */ int iLstnMax; /**< max nbr of listeners currently supported */ netstrm_t **ppLstn; /**< our netstream listners */ int iSessMax; /**< max number of sessions supported */ @@ -69,6 +70,7 @@ BEGINinterface(tcpsrv) /* name must also be changed in ENDinterface macro! */ rsRetVal (*SetCBOnDestruct)(tcpsrv_t*, rsRetVal (*) (void*)); rsRetVal (*SetCBOnRegularClose)(tcpsrv_t*, rsRetVal (*) (tcps_sess_t*)); rsRetVal (*SetCBOnErrClose)(tcpsrv_t*, rsRetVal (*) (tcps_sess_t*)); + rsRetVal (*SetDrvrMode)(tcpsrv_t *pThis, int iMode); /* session specifics */ rsRetVal (*SetCBOnSessAccept)(tcpsrv_t*, rsRetVal (*) (tcpsrv_t*, tcps_sess_t*)); rsRetVal (*SetCBOnSessDestruct)(tcpsrv_t*, rsRetVal (*) (void*)); |