summaryrefslogtreecommitdiff
path: root/plugins/mmaudit/mmaudit.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mmaudit/mmaudit.c')
-rw-r--r--plugins/mmaudit/mmaudit.c19
1 files changed, 16 insertions, 3 deletions
diff --git a/plugins/mmaudit/mmaudit.c b/plugins/mmaudit/mmaudit.c
index 018e177..75f8dd4 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.
*
@@ -43,8 +43,7 @@
#include <errno.h>
#include <unistd.h>
#include <ctype.h>
-#include <libestr.h>
-#include <libee/libee.h>
+#include <json.h>
#include "conf.h"
#include "syslogd-types.h"
#include "template.h"
@@ -70,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);
@@ -80,6 +84,10 @@ BEGINcreateInstance
CODESTARTcreateInstance
ENDcreateInstance
+BEGINcreateWrkrInstance
+CODESTARTcreateWrkrInstance
+ENDcreateWrkrInstance
+
BEGINisCompatibleWithFeature
CODESTARTisCompatibleWithFeature
@@ -90,6 +98,10 @@ BEGINfreeInstance
CODESTARTfreeInstance
ENDfreeInstance
+BEGINfreeWrkrInstance
+CODESTARTfreeWrkrInstance
+ENDfreeWrkrInstance
+
BEGINdbgPrintInstInfo
CODESTARTdbgPrintInstInfo
@@ -303,6 +315,7 @@ ENDmodExit
BEGINqueryEtryPt
CODESTARTqueryEtryPt
CODEqueryEtryPt_STD_OMOD_QUERIES
+CODEqueryEtryPt_STD_OMOD8_QUERIES
ENDqueryEtryPt