diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-28 16:03:32 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-28 16:03:32 +0100 |
commit | 286bf42f61f5b67daf0d6a3d2234f0b50a2a9c97 (patch) | |
tree | 0ac1ec681f91669355c2700e535bdc48109585b4 /runtime/modules.c | |
parent | 4cf5b6cb49385a3f5cdcbe34c534bbd4b89e4d8c (diff) | |
download | rsyslog-286bf42f61f5b67daf0d6a3d2234f0b50a2a9c97.tar.gz rsyslog-286bf42f61f5b67daf0d6a3d2234f0b50a2a9c97.tar.bz2 rsyslog-286bf42f61f5b67daf0d6a3d2234f0b50a2a9c97.zip |
milestone: action engine changed to partially support wrkr instance action interface
Diffstat (limited to 'runtime/modules.c')
-rw-r--r-- | runtime/modules.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/modules.c b/runtime/modules.c index 56606306..eca7e466 100644 --- a/runtime/modules.c +++ b/runtime/modules.c @@ -652,6 +652,12 @@ doModInit(rsRetVal (*modInit)(int, int*, rsRetVal(**)(), rsRetVal(*)(), modInfo_ CHKiRet((*pNew->modQueryEtryPt)((uchar*)"doAction", &pNew->mod.om.doAction)); CHKiRet((*pNew->modQueryEtryPt)((uchar*)"parseSelectorAct", &pNew->mod.om.parseSelectorAct)); CHKiRet((*pNew->modQueryEtryPt)((uchar*)"tryResume", &pNew->tryResume)); + + /* TODO: 2013-10-28: these will become mandatory but are not to get me started */ + localRet = (*pNew->modQueryEtryPt)((uchar*)"createWrkrInstance", &pNew->mod.om.createWrkrInstance); + if(localRet != RS_RET_OK && localRet != RS_RET_MODULE_ENTRY_POINT_NOT_FOUND) + ABORT_FINALIZE(localRet); + /* try load optional interfaces */ localRet = (*pNew->modQueryEtryPt)((uchar*)"doHUP", &pNew->doHUP); if(localRet != RS_RET_OK && localRet != RS_RET_MODULE_ENTRY_POINT_NOT_FOUND) |