diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-04-01 16:26:21 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-04-01 16:26:21 +0200 |
commit | 0edf73f88096f3656da466027417d04ce7a2511c (patch) | |
tree | ca890d2481488afad0385c40b56a62ce6ec42a40 /tcpsrv.h | |
parent | 945bc9bd0d9de984ab11b9faf609b809a1f3cb90 (diff) | |
download | rsyslog-0edf73f88096f3656da466027417d04ce7a2511c.tar.gz rsyslog-0edf73f88096f3656da466027417d04ce7a2511c.tar.xz rsyslog-0edf73f88096f3656da466027417d04ce7a2511c.zip |
added new config directive $InputTCPFlowControl...
... to select if tcp received messages shall be flagged as
light delayable or not.
Diffstat (limited to 'tcpsrv.h')
-rw-r--r-- | tcpsrv.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -56,6 +56,7 @@ struct tcpsrv_s { permittedPeers_t *pPermPeers;/**< driver's permitted peers */ sbool bEmitMsgOnClose; /**< emit an informational message when the remote peer closes connection */ sbool bUsingEPoll; /**< are we in epoll mode (means we do not need to keep track of sessions!) */ + sbool bUseFlowControl; /**< use flow control (make light delayable) */ int iLstnCurr; /**< max nbr of listeners currently supported */ netstrm_t **ppLstn; /**< our netstream listners */ tcpLstnPortList_t **ppLstnPort; /**< pointer to relevant listen port description */ @@ -121,8 +122,10 @@ BEGINinterface(tcpsrv) /* name must also be changed in ENDinterface macro! */ rsRetVal (*SetNotificationOnRemoteClose)(tcpsrv_t *pThis, int bNewVal); /* 2009-10-01 */ /* added v9 -- rgerhards, 2010-03-01 */ rsRetVal (*SetbDisableLFDelim)(tcpsrv_t*, int); + /* added v10 -- rgerhards, 2011-04-01 */ + rsRetVal (*SetUseFlowControl)(tcpsrv_t*, int); ENDinterface(tcpsrv) -#define tcpsrvCURR_IF_VERSION 9 /* increment whenever you change the interface structure! */ +#define tcpsrvCURR_IF_VERSION 10 /* increment whenever you change the interface structure! */ /* change for v4: * - SetAddtlFrameDelim() added -- rgerhards, 2008-12-10 * - SetInputName() added -- rgerhards, 2008-12-10 |