summaryrefslogtreecommitdiffstats
path: root/runtime/nspoll.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-09-17 15:01:30 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-09-17 15:01:30 +0200
commit33bb5517ba3a47b95e69b3a155084e2a4ca31f7e (patch)
tree1450412894241e6c5849d809e939e176c5b9db96 /runtime/nspoll.h
parentad50194ceb52bcf45566f98b801d72163a005718 (diff)
downloadrsyslog-33bb5517ba3a47b95e69b3a155084e2a4ca31f7e.tar.gz
rsyslog-33bb5517ba3a47b95e69b3a155084e2a4ca31f7e.tar.bz2
rsyslog-33bb5517ba3a47b95e69b3a155084e2a4ca31f7e.zip
imtcp: add streamdriver.name module parameter
permits overriding the system default stream driver (gtls, ptcp)
Diffstat (limited to 'runtime/nspoll.h')
-rw-r--r--runtime/nspoll.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/nspoll.h b/runtime/nspoll.h
index 037f6c38..3a6e060c 100644
--- a/runtime/nspoll.h
+++ b/runtime/nspoll.h
@@ -53,8 +53,10 @@ BEGINinterface(nspoll) /* name must also be changed in ENDinterface macro! */
rsRetVal (*Wait)(nspoll_t *pNsdpoll, int timeout, int *numEntries, nsd_epworkset_t workset[]);
rsRetVal (*Ctl)(nspoll_t *pNsdpoll, netstrm_t *pStrm, int id, void *pUsr, int mode, int op);
rsRetVal (*IsEPollSupported)(void); /* static method */
+ /* v3 - 2013-09-17 by rgerhards */
+ rsRetVal (*SetDrvrName)(nspoll_t *pThis, uchar *name);
ENDinterface(nspoll)
-#define nspollCURR_IF_VERSION 2 /* increment whenever you change the interface structure! */
+#define nspollCURR_IF_VERSION 3 /* increment whenever you change the interface structure! */
/* interface change in v2 is that wait supports multiple return objects */
/* prototypes */