summaryrefslogtreecommitdiffstats
path: root/runtime/rsconf.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-04-19 12:37:39 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-04-19 12:37:39 +0200
commit542fd3300671a2480ff009e060b32f08fed44b4d (patch)
treeb61afaf5b9b76ee8c2b1863afcf1b43dac168001 /runtime/rsconf.h
parentb722cd3fe608a0bbf4a6df962f9d5c5e547fdc09 (diff)
downloadrsyslog-542fd3300671a2480ff009e060b32f08fed44b4d.tar.gz
rsyslog-542fd3300671a2480ff009e060b32f08fed44b4d.tar.xz
rsyslog-542fd3300671a2480ff009e060b32f08fed44b4d.zip
some more work was required on the ruleset modification
Diffstat (limited to 'runtime/rsconf.h')
-rw-r--r--runtime/rsconf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/rsconf.h b/runtime/rsconf.h
index 4fd160a4..32488d08 100644
--- a/runtime/rsconf.h
+++ b/runtime/rsconf.h
@@ -44,6 +44,10 @@ struct actions_s {
struct rulesets_s {
linkedList_t llRulesets; /* this is NOT a pointer - no typo here ;) */
+
+ /* support for legacy rsyslog.conf format */
+ ruleset_t *pCurr; /* currently "active" ruleset */
+ ruleset_t *pDflt; /* current default ruleset, e.g. for binding to actions which have no other */
};