summaryrefslogtreecommitdiffstats
path: root/runtime/nsd_ptcp.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-30 17:41:17 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-30 17:41:17 +0200
commit1c2268faa836ca70a4d13dcad57818413990ac62 (patch)
tree30cb04d334938986d831cecf091dfebe7d883bdd /runtime/nsd_ptcp.c
parentc370fc6305af0fc9c37f818d8b88726b899b0d0a (diff)
downloadrsyslog-1c2268faa836ca70a4d13dcad57818413990ac62.tar.gz
rsyslog-1c2268faa836ca70a4d13dcad57818413990ac62.tar.xz
rsyslog-1c2268faa836ca70a4d13dcad57818413990ac62.zip
restructured netstrm driver layer
the new structure prevents repetitive loads and unloads of driver files; it also has less overhead The "select" and regular driver are now contained in a single file.
Diffstat (limited to 'runtime/nsd_ptcp.c')
-rw-r--r--runtime/nsd_ptcp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/nsd_ptcp.c b/runtime/nsd_ptcp.c
index e26347c3..5bad3bf4 100644
--- a/runtime/nsd_ptcp.c
+++ b/runtime/nsd_ptcp.c
@@ -47,6 +47,7 @@
#include "net.h"
#include "netstrms.h"
#include "netstrm.h"
+#include "nsdsel_ptcp.h"
#include "nsd_ptcp.h"
MODULE_TYPE_LIB
@@ -671,6 +672,7 @@ ENDObjClassInit(nsd_ptcp)
BEGINmodExit
CODESTARTmodExit
+ nsdsel_ptcpClassExit();
nsd_ptcpClassExit();
ENDmodExit
@@ -687,6 +689,7 @@ CODESTARTmodInit
/* Initialize all classes that are in our module - this includes ourselfs */
CHKiRet(nsd_ptcpClassInit(pModInfo)); /* must be done after tcps_sess, as we use it */
+ CHKiRet(nsdsel_ptcpClassInit(pModInfo)); /* must be done after tcps_sess, as we use it */
ENDmodInit
/* vi:set ai:
*/