From ab9c4e360b143e9b9f78ae80c9da62ecc131e672 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Tue, 21 Apr 2009 17:52:07 +0200 Subject: Imported Upstream version 3.22.0 --- tcpsrv.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tcpsrv.h') diff --git a/tcpsrv.h b/tcpsrv.h index 0111086..280f508 100644 --- a/tcpsrv.h +++ b/tcpsrv.h @@ -79,8 +79,10 @@ 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 v4 */ + rsRetVal (*SetSessMax)(tcpsrv_t *pThis, int iMaxSess); /* 2009-04-09 */ ENDinterface(tcpsrv) -#define tcpsrvCURR_IF_VERSION 3 /* increment whenever you change the interface structure! */ +#define tcpsrvCURR_IF_VERSION 4 /* increment whenever you change the interface structure! */ /* prototypes */ -- cgit v1.2.3