diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-25 12:54:59 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-25 12:54:59 +0200 |
commit | 75cf92117c118f9aca37b39f44ad1e1e759f78bf (patch) | |
tree | d0017f4419daa9e0ae22117f44b78208a4b35307 /runtime/nsd.h | |
parent | 21bea2e1df044771f713fa426bf6b005385c40da (diff) | |
download | rsyslog-75cf92117c118f9aca37b39f44ad1e1e759f78bf.tar.gz rsyslog-75cf92117c118f9aca37b39f44ad1e1e759f78bf.tar.xz rsyslog-75cf92117c118f9aca37b39f44ad1e1e759f78bf.zip |
made gtls server driver work in plain tcp mode
Diffstat (limited to 'runtime/nsd.h')
-rw-r--r-- | runtime/nsd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/nsd.h b/runtime/nsd.h index 044cc266..1b3702a0 100644 --- a/runtime/nsd.h +++ b/runtime/nsd.h @@ -51,7 +51,8 @@ BEGINinterface(nsd) /* name must also be changed in ENDinterface macro! */ 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 + rsRetVal (*SetSock)(nsd_t *pThis, int sock); + /* GetSock() and SetSock() return 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. */ |