summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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