diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-29 10:56:13 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-29 10:56:13 +0100 |
commit | 1960b94b8a3f210f64d141d6dd60052d4ab9220f (patch) | |
tree | d9122ca4c8ea01c12ad37cd35b348876bf0f8b69 /runtime/modules.c | |
parent | edeee94552553cdb05bd25a8b6ff19bf0001a39b (diff) | |
download | rsyslog-1960b94b8a3f210f64d141d6dd60052d4ab9220f.tar.gz rsyslog-1960b94b8a3f210f64d141d6dd60052d4ab9220f.tar.bz2 rsyslog-1960b94b8a3f210f64d141d6dd60052d4ab9220f.zip |
move all builtin-modules to new wrkr activation interface; make this mandatory
This intentionally breaks build of modules not yet converted.
Diffstat (limited to 'runtime/modules.c')
-rw-r--r-- | runtime/modules.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/runtime/modules.c b/runtime/modules.c index eca7e466..7f01a0fb 100644 --- a/runtime/modules.c +++ b/runtime/modules.c @@ -652,11 +652,7 @@ 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); + CHKiRet((*pNew->modQueryEtryPt)((uchar*)"createWrkrInstance", &pNew->mod.om.createWrkrInstance)); /* try load optional interfaces */ localRet = (*pNew->modQueryEtryPt)((uchar*)"doHUP", &pNew->doHUP); |