summaryrefslogtreecommitdiffstats
path: root/runtime/nsd.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-23 16:31:35 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-23 16:31:35 +0200
commit50fe2ec2ea275b7ed38c7942736fbb2aae727056 (patch)
tree85a43771dbe9dca798a69c941fb83c8396f4fc1f /runtime/nsd.h
parent1892fc75f9fad0b0741b4a3eb1fc382f900b2301 (diff)
downloadrsyslog-50fe2ec2ea275b7ed38c7942736fbb2aae727056.tar.gz
rsyslog-50fe2ec2ea275b7ed38c7942736fbb2aae727056.tar.xz
rsyslog-50fe2ec2ea275b7ed38c7942736fbb2aae727056.zip
removed listener array from inidividual netstrm (mostly finished)
Diffstat (limited to 'runtime/nsd.h')
-rw-r--r--runtime/nsd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/nsd.h b/runtime/nsd.h
index db61780f..c32e284e 100644
--- a/runtime/nsd.h
+++ b/runtime/nsd.h
@@ -46,7 +46,8 @@ BEGINinterface(nsd) /* name must also be changed in ENDinterface macro! */
rsRetVal (*Rcv)(nsd_t *pThis, uchar *pRcvBuf, ssize_t *pLenBuf);
rsRetVal (*Send)(nsd_t *pThis, uchar *pBuf, ssize_t *pLenBuf);
rsRetVal (*Connect)(nsd_t *pThis, int family, unsigned char *port, unsigned char *host);
- rsRetVal (*LstnInit)(nsd_t ***parrLstn, int *pLstnArrSize, uchar *pLstnPort, uchar *pLstnIP, int iSessMax);
+ rsRetVal (*LstnInit)(netstrms_t *pNS, void *pUsr, rsRetVal(*fAddLstn)(void*,netstrm_t*),
+ uchar *pLstnPort, uchar *pLstnIP, int iSessMax);
rsRetVal (*AcceptConnReq)(nsd_t *pThis, nsd_t **ppThis);
ENDinterface(nsd)
#define nsdCURR_IF_VERSION 1 /* increment whenever you change the interface structure! */