diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-01 12:04:49 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-01 12:04:49 +0100 |
commit | 6b8755be225874e57f92df4e30e452ac340cc428 (patch) | |
tree | ca644effbddbfc709e9981ac4ad2079492c5bbd6 | |
parent | 8a0258905b413e2533f0d2d2a763a5bb20c5986c (diff) | |
download | rsyslog-6b8755be225874e57f92df4e30e452ac340cc428.tar.gz rsyslog-6b8755be225874e57f92df4e30e452ac340cc428.tar.bz2 rsyslog-6b8755be225874e57f92df4e30e452ac340cc428.zip |
omtesting: support v8 omod interface
-rw-r--r-- | plugins/omtesting/omtesting.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/plugins/omtesting/omtesting.c b/plugins/omtesting/omtesting.c index d77f1df5..2cc1159e 100644 --- a/plugins/omtesting/omtesting.c +++ b/plugins/omtesting/omtesting.c @@ -22,7 +22,7 @@ * NOTE: read comments in module-template.h to understand how this file * works! * - * Copyright 2007-2012 Rainer Gerhards and Adiscon GmbH. + * Copyright 2007-2013 Rainer Gerhards and Adiscon GmbH. * * This file is part of rsyslog. * @@ -96,6 +96,11 @@ CODESTARTcreateInstance ENDcreateInstance +BEGINcreateWrkrInstance +CODESTARTcreateWrkrInstance +ENDcreateWrkrInstance + + BEGINdbgPrintInstInfo CODESTARTdbgPrintInstInfo dbgprintf("Action delays rule by %d second(s) and %d millisecond(s)\n", @@ -225,6 +230,11 @@ CODESTARTfreeInstance ENDfreeInstance +BEGINfreeWrkrInstance +CODESTARTfreeWrkrInstance +ENDfreeWrkrInstance + + BEGINparseSelectorAct int i; uchar szBuf[1024]; @@ -318,6 +328,7 @@ ENDmodExit BEGINqueryEtryPt CODESTARTqueryEtryPt CODEqueryEtryPt_STD_OMOD_QUERIES +CODEqueryEtryPt_STD_OMOD8_QUERIES CODEqueryEtryPt_STD_CONF2_CNFNAME_QUERIES ENDqueryEtryPt |