summaryrefslogtreecommitdiffstats
path: root/runtime/nssel.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/nssel.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/nssel.h')
-rw-r--r--runtime/nssel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/nssel.h b/runtime/nssel.h
index d7f4fcd3..6131d9b4 100644
--- a/runtime/nssel.h
+++ b/runtime/nssel.h
@@ -42,8 +42,10 @@ BEGINinterface(nssel) /* name must also be changed in ENDinterface macro! */
rsRetVal (*Add)(nssel_t *pThis, netstrm_t *pStrm, nsdsel_waitOp_t waitOp);
rsRetVal (*Wait)(nssel_t *pThis, int *pNumReady);
rsRetVal (*IsReady)(nssel_t *pThis, netstrm_t *pStrm, nsdsel_waitOp_t waitOp, int *pbIsReady, int *piNumReady);
+ /* v2 - 2013-09-17 by rgerhards */
+ rsRetVal (*SetDrvrName)(nssel_t *pThis, uchar *name);
ENDinterface(nssel)
-#define nsselCURR_IF_VERSION 1 /* increment whenever you change the interface structure! */
+#define nsselCURR_IF_VERSION 2 /* increment whenever you change the interface structure! */
/* prototypes */
PROTOTYPEObj(nssel);