summaryrefslogtreecommitdiffstats
path: root/runtime/rsconf.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-04-19 12:18:26 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-04-19 12:18:26 +0200
commitb722cd3fe608a0bbf4a6df962f9d5c5e547fdc09 (patch)
treee47f14e73a38e4f8cb835b5099f11d0cc848152b /runtime/rsconf.h
parentd348558a51402d08310d95cfd6e8a2d6b9fce1b2 (diff)
downloadrsyslog-b722cd3fe608a0bbf4a6df962f9d5c5e547fdc09.tar.gz
rsyslog-b722cd3fe608a0bbf4a6df962f9d5c5e547fdc09.tar.bz2
rsyslog-b722cd3fe608a0bbf4a6df962f9d5c5e547fdc09.zip
milestone: ruleset now supports rsconf_t
Diffstat (limited to 'runtime/rsconf.h')
-rw-r--r--runtime/rsconf.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/rsconf.h b/runtime/rsconf.h
index e32e3d12..4fd160a4 100644
--- a/runtime/rsconf.h
+++ b/runtime/rsconf.h
@@ -23,6 +23,8 @@
#ifndef INCLUDED_RSCONF_H
#define INCLUDED_RSCONF_H
+#include "linkedlist.h"
+
/* --- configuration objects (the plan is to have ALL upper layers in this file) --- */
/* the following structure is a container for all known templates
@@ -39,6 +41,12 @@ struct actions_s {
unsigned nbrActions; /* number of actions */
};
+
+struct rulesets_s {
+ linkedList_t llRulesets; /* this is NOT a pointer - no typo here ;) */
+};
+
+
/* --- end configuration objects --- */
/* the rsconf object */
@@ -46,6 +54,7 @@ struct rsconf_s {
BEGINobjInstance; /* Data to implement generic object - MUST be the first data element! */
templates_t templates;
actions_t actions;
+ rulesets_t rulesets;
};