summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-11-17 18:09:55 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-11-17 18:09:55 +0100
commit0bd11b7d7f0f2d8a94fd91a56f9cbd79bb4aed57 (patch)
treefd71b0e7f7f48b223e7f330efd3be257d3ffd48a
parent71d8ae126af29cb5a4fa1f28a732f2bc9b86e8b6 (diff)
downloadrsyslog-0bd11b7d7f0f2d8a94fd91a56f9cbd79bb4aed57.tar.gz
rsyslog-0bd11b7d7f0f2d8a94fd91a56f9cbd79bb4aed57.tar.bz2
rsyslog-0bd11b7d7f0f2d8a94fd91a56f9cbd79bb4aed57.zip
mmaudit: now supports v8 output module interface and work again
-rw-r--r--ChangeLog3
-rw-r--r--doc/v8compatibility.html2
-rw-r--r--plugins/mmaudit/mmaudit.c16
3 files changed, 19 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d392d9f5..6ea8cbd6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
---------------------------------------------------------------------------
+Version 8.1.1 [devel] 2013-11-??
+- mmaudit: now supports v8 output module interface and work again
+---------------------------------------------------------------------------
Version 8.1.0 [devel] 2013-11-15
- rewritten core engine for higher performance and new features
In detail:
diff --git a/doc/v8compatibility.html b/doc/v8compatibility.html
index 6dda2c45..85a0a7b1 100644
--- a/doc/v8compatibility.html
+++ b/doc/v8compatibility.html
@@ -33,7 +33,6 @@ need to be updated:
for conversion
<li>plugins/omoracle - orphaned since a while -- use omlibdbi instead
<li>plugins/mmsnmptrapd - waiting for demand
-<li>plugins/mmaudit - scheduled to be updated soon
<li>plugins/mmcount - scheduled to be updated soon
</ul>
@@ -47,6 +46,7 @@ should use extra care.
<li>omsnmp
<li>mmfields
<li>mmpstrucdata
+<li>plugins/mmaudit
<li>omlibdbi - will be tested soon
<li>ommongodb - larger changes still outstanding
<li>ompgsql - larger chages still outstanding
diff --git a/plugins/mmaudit/mmaudit.c b/plugins/mmaudit/mmaudit.c
index c7cff2cb..75f8dd4b 100644
--- a/plugins/mmaudit/mmaudit.c
+++ b/plugins/mmaudit/mmaudit.c
@@ -14,7 +14,7 @@
*
* File begun on 2012-02-23 by RGerhards
*
- * Copyright 2012 Adiscon GmbH.
+ * Copyright 2013 Adiscon GmbH.
*
* This file is part of rsyslog.
*
@@ -69,6 +69,11 @@ typedef struct _instanceData {
int dummy; /* remove when the first real parameter is needed */
} instanceData;
+typedef struct wrkrInstanceData {
+ instanceData *pData;
+} wrkrInstanceData_t;
+
+
BEGINinitConfVars /* (re)set config variables to default values */
CODESTARTinitConfVars
resetConfigVariables(NULL, NULL);
@@ -79,6 +84,10 @@ BEGINcreateInstance
CODESTARTcreateInstance
ENDcreateInstance
+BEGINcreateWrkrInstance
+CODESTARTcreateWrkrInstance
+ENDcreateWrkrInstance
+
BEGINisCompatibleWithFeature
CODESTARTisCompatibleWithFeature
@@ -89,6 +98,10 @@ BEGINfreeInstance
CODESTARTfreeInstance
ENDfreeInstance
+BEGINfreeWrkrInstance
+CODESTARTfreeWrkrInstance
+ENDfreeWrkrInstance
+
BEGINdbgPrintInstInfo
CODESTARTdbgPrintInstInfo
@@ -302,6 +315,7 @@ ENDmodExit
BEGINqueryEtryPt
CODESTARTqueryEtryPt
CODEqueryEtryPt_STD_OMOD_QUERIES
+CODEqueryEtryPt_STD_OMOD8_QUERIES
ENDqueryEtryPt