summaryrefslogtreecommitdiffstats
path: root/runtime/nsd.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-05-21 12:23:41 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-05-21 12:23:41 +0200
commitff446070be16b18e119873ed56e2c96e28b98514 (patch)
tree4639428c29cf604a3955ea487813027141a585db /runtime/nsd.h
parent275595cdf8d5e18e665bfd4189f8061441595cce (diff)
parent8cb6ec4cee79d41c30d7df38b58ab1f198ac8581 (diff)
downloadrsyslog-ff446070be16b18e119873ed56e2c96e28b98514.tar.gz
rsyslog-ff446070be16b18e119873ed56e2c96e28b98514.tar.xz
rsyslog-ff446070be16b18e119873ed56e2c96e28b98514.zip
Merge branch 'ietf-tls'
Conflicts: ChangeLog
Diffstat (limited to 'runtime/nsd.h')
-rw-r--r--runtime/nsd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/nsd.h b/runtime/nsd.h
index cc06c877..53693b59 100644
--- a/runtime/nsd.h
+++ b/runtime/nsd.h
@@ -51,6 +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 (*SetMode)(nsd_t *pThis, int mode); /* sets a driver specific mode - see driver doc for details */
+ rsRetVal (*SetAuthMode)(nsd_t *pThis, uchar*); /* sets a driver specific mode - see driver doc for details */
+ rsRetVal (*SetPermPeers)(nsd_t *pThis, permittedPeers_t*); /* sets driver permitted peers for auth needs */
rsRetVal (*GetSock)(nsd_t *pThis, int *pSock);
rsRetVal (*SetSock)(nsd_t *pThis, int sock);
/* GetSock() and SetSock() return an error if the driver does not use plain
@@ -58,7 +60,7 @@ BEGINinterface(nsd) /* name must also be changed in ENDinterface macro! */
* 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! */
+#define nsdCURR_IF_VERSION 2 /* increment whenever you change the interface structure! */
/* interface for the select call */
BEGINinterface(nsdsel) /* name must also be changed in ENDinterface macro! */