summaryrefslogtreecommitdiffstats
path: root/module-template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-14 17:15:35 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-14 17:15:35 +0000
commit3a209d530568ddfb448d3b55e506022245e394b4 (patch)
tree9a9e00ae93679d57223a54554e337aefb6f6cd2e /module-template.h
parent6c0c26dc96544aa5814d00045b3d559c99fc1b2e (diff)
downloadrsyslog-3a209d530568ddfb448d3b55e506022245e394b4.tar.gz
rsyslog-3a209d530568ddfb448d3b55e506022245e394b4.tar.xz
rsyslog-3a209d530568ddfb448d3b55e506022245e394b4.zip
added thread activation
Diffstat (limited to 'module-template.h')
-rw-r--r--module-template.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/module-template.h b/module-template.h
index 4bce7f8d..a9535428 100644
--- a/module-template.h
+++ b/module-template.h
@@ -373,7 +373,10 @@ static rsRetVal queryEtryPt(uchar *name, rsRetVal (**pEtryPoint)())\
* differences) is needed.
*/
#define CODEqueryEtryPt_STD_IMOD_QUERIES \
- CODEqueryEtryPt_STD_MOD_QUERIES
+ CODEqueryEtryPt_STD_MOD_QUERIES \
+ else if(!strcmp((char*) name, "runInput")) {\
+ *pEtryPoint = runInput;\
+ }
/* modInit()
* This has an extra parameter, which is the specific name of the modInit