summaryrefslogtreecommitdiffstats
path: root/runtime/ruleset.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-12 15:31:08 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-12 15:31:08 +0200
commitca0ddc30a3edce02a440904a01f0b866c0f82b5a (patch)
treef751d9d677ce901841874e05650f7ea236a90976 /runtime/ruleset.h
parent21dafea3ee98d16a8fe93d0d5228939dc259aea7 (diff)
downloadrsyslog-ca0ddc30a3edce02a440904a01f0b866c0f82b5a.tar.gz
rsyslog-ca0ddc30a3edce02a440904a01f0b866c0f82b5a.tar.xz
rsyslog-ca0ddc30a3edce02a440904a01f0b866c0f82b5a.zip
completed multi-ruleset core support
... as well as added multi-ruleset support for imtcp
Diffstat (limited to 'runtime/ruleset.h')
-rw-r--r--runtime/ruleset.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/ruleset.h b/runtime/ruleset.h
index b609e6b3..32571687 100644
--- a/runtime/ruleset.h
+++ b/runtime/ruleset.h
@@ -44,8 +44,12 @@ BEGINinterface(ruleset) /* name must also be changed in ENDinterface macro! */
rsRetVal (*IterateAllActions)(rsRetVal (*pFunc)(void*, void*), void* pParam);
rsRetVal (*DestructAllActions)(void);
rsRetVal (*AddRule)(ruleset_t *pThis, rule_t **ppRule);
- rsRetVal (*ProcessMsg)(ruleset_t *pThis, msg_t *pMsg);
rsRetVal (*SetName)(ruleset_t *pThis, uchar *pszName);
+ rsRetVal (*ProcessMsg)(msg_t *pMsg);
+ rsRetVal (*GetRuleset)(ruleset_t **ppThis, uchar*);
+ rsRetVal (*SetDefaultRuleset)(uchar*);
+ rsRetVal (*SetCurrRuleset)(uchar*);
+ ruleset_t* (*GetCurrent)(void);
ENDinterface(ruleset)
#define rulesetCURR_IF_VERSION 1 /* increment whenever you change the interface structure! */