From 0bd11b7d7f0f2d8a94fd91a56f9cbd79bb4aed57 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Sun, 17 Nov 2013 18:09:55 +0100 Subject: mmaudit: now supports v8 output module interface and work again --- ChangeLog | 3 +++ doc/v8compatibility.html | 2 +- plugins/mmaudit/mmaudit.c | 16 +++++++++++++++- 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
  • plugins/omoracle - orphaned since a while -- use omlibdbi instead
  • plugins/mmsnmptrapd - waiting for demand -
  • plugins/mmaudit - scheduled to be updated soon
  • plugins/mmcount - scheduled to be updated soon @@ -47,6 +46,7 @@ should use extra care.
  • omsnmp
  • mmfields
  • mmpstrucdata +
  • plugins/mmaudit
  • omlibdbi - will be tested soon
  • ommongodb - larger changes still outstanding
  • 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 -- cgit v1.2.3