summaryrefslogtreecommitdiffstats
path: root/tcpsrv.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-04-09 13:44:52 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-04-09 13:44:52 +0200
commita5b4cb1681174ad221a8440422e4cd0da0e32064 (patch)
tree95abe0feed6e106025fc8d85d4ad28a36c06eb34 /tcpsrv.h
parent845c6f59b91e9988f856556cbb0e88e275e8e591 (diff)
parent0cade5118fbf6b7af6f34b53255e4e73b9578176 (diff)
downloadrsyslog-a5b4cb1681174ad221a8440422e4cd0da0e32064.tar.gz
rsyslog-a5b4cb1681174ad221a8440422e4cd0da0e32064.tar.xz
rsyslog-a5b4cb1681174ad221a8440422e4cd0da0e32064.zip
Merge branch 'beta'
Conflicts: ChangeLog tcpsrv.c tcpsrv.h Note: we have a slight inconsistency, as interface version v4 was already used for tcpsrv in this branch. We accept this inconsistency.
Diffstat (limited to 'tcpsrv.h')
-rw-r--r--tcpsrv.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tcpsrv.h b/tcpsrv.h
index 2924bafa..e5ecb865 100644
--- a/tcpsrv.h
+++ b/tcpsrv.h
@@ -92,11 +92,14 @@ BEGINinterface(tcpsrv) /* name must also be changed in ENDinterface macro! */
rsRetVal (*SetCBOnSessAccept)(tcpsrv_t*, rsRetVal (*) (tcpsrv_t*, tcps_sess_t*));
rsRetVal (*SetCBOnSessDestruct)(tcpsrv_t*, rsRetVal (*) (void*));
rsRetVal (*SetCBOnSessConstructFinalize)(tcpsrv_t*, rsRetVal (*) (void*));
+ /* added v5 */
+ rsRetVal (*SetSessMax)(tcpsrv_t *pThis, int iMaxSess); /* 2009-04-09 */
ENDinterface(tcpsrv)
-#define tcpsrvCURR_IF_VERSION 4 /* increment whenever you change the interface structure! */
+#define tcpsrvCURR_IF_VERSION 5 /* increment whenever you change the interface structure! */
/* change for v4:
* - SetAddtlFrameDelim() added -- rgerhards, 2008-12-10
* - SetInputName() added -- rgerhards, 2008-12-10
+ * change for v5 and up: see above
*/