diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-28 17:35:57 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-28 17:35:57 +0100 |
commit | edeee94552553cdb05bd25a8b6ff19bf0001a39b (patch) | |
tree | 3daea3db6c86754a19f267aefad2f2abf56d42cc /plugins/mmanon | |
parent | 91d16e029260fc0a5d400c0d8deb27549a547f2f (diff) | |
download | rsyslog-edeee94552553cdb05bd25a8b6ff19bf0001a39b.tar.gz rsyslog-edeee94552553cdb05bd25a8b6ff19bf0001a39b.tar.bz2 rsyslog-edeee94552553cdb05bd25a8b6ff19bf0001a39b.zip |
mmanon: update to new output module interface (partial)
Diffstat (limited to 'plugins/mmanon')
-rw-r--r-- | plugins/mmanon/mmanon.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/mmanon/mmanon.c b/plugins/mmanon/mmanon.c index 16a4f34b..0612c812 100644 --- a/plugins/mmanon/mmanon.c +++ b/plugins/mmanon/mmanon.c @@ -71,6 +71,10 @@ typedef struct _instanceData { } ipv4; } instanceData; +typedef struct wrkrInstanceData { + instanceData *pData; +} wrkrInstanceData_t; + struct modConfData_s { rsconf_t *pConf; /* our overall config object */ }; @@ -119,6 +123,10 @@ BEGINcreateInstance CODESTARTcreateInstance ENDcreateInstance +BEGINcreateWrkrInstance +CODESTARTcreateWrkrInstance +ENDcreateWrkrInstance + BEGINisCompatibleWithFeature CODESTARTisCompatibleWithFeature @@ -354,6 +362,7 @@ BEGINdoAction int lenMsg; int i; CODESTARTdoAction + pData = pWrkrData->pData; pMsg = (msg_t*) ppString[0]; lenMsg = getMSGLen(pMsg); msg = getMSG(pMsg); @@ -387,6 +396,7 @@ ENDmodExit BEGINqueryEtryPt CODESTARTqueryEtryPt CODEqueryEtryPt_STD_OMOD_QUERIES +CODEqueryEtryPt_STD_OMOD8_QUERIES CODEqueryEtryPt_STD_CONF2_OMOD_QUERIES CODEqueryEtryPt_STD_CONF2_QUERIES ENDqueryEtryPt |