diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-24 17:59:43 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-24 17:59:43 +0200 |
commit | af50a76c3f251c82ef9d21ecf9a2ca8877852906 (patch) | |
tree | c25039a06df294d9da880f110438d2f1c2a24088 /runtime/nsd.h | |
parent | 4b05bef636c11cbaf4d32097ed9656a1447ed3d0 (diff) | |
download | rsyslog-af50a76c3f251c82ef9d21ecf9a2ca8877852906.tar.gz rsyslog-af50a76c3f251c82ef9d21ecf9a2ca8877852906.tar.xz rsyslog-af50a76c3f251c82ef9d21ecf9a2ca8877852906.zip |
made this compile with the new abstracted socket server calls
undid some invalid changes during merge plus did a few wrappers.
Compiles, but does not yet work.
Diffstat (limited to 'runtime/nsd.h')
-rw-r--r-- | runtime/nsd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/nsd.h b/runtime/nsd.h index d6fa9e0d..044cc266 100644 --- a/runtime/nsd.h +++ b/runtime/nsd.h @@ -50,6 +50,11 @@ BEGINinterface(nsd) /* name must also be changed in ENDinterface macro! */ rsRetVal (*AcceptConnReq)(nsd_t *pThis, nsd_t **ppThis); rsRetVal (*GetRemoteHName)(nsd_t *pThis, uchar **pszName); rsRetVal (*GetRemoteIP)(nsd_t *pThis, uchar **pszIP); + rsRetVal (*GetSock)(nsd_t *pThis, int *pSock); + /* GetSock() returns an error if the driver does not use plain + * OS sockets. This interface is primarily meant as an internal aid for + * those drivers that utilize the nsd_ptcp to do some of their work. + */ ENDinterface(nsd) #define nsdCURR_IF_VERSION 1 /* increment whenever you change the interface structure! */ |