summaryrefslogtreecommitdiffstats
path: root/runtime/rsconf.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-04-27 14:02:00 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-04-27 14:02:00 +0200
commit17e3f6b49cccb99316f2907eb3c131ec998ee3c3 (patch)
tree5b8ed0a9bd0fc09e9c9e766d961d6fb4eb203395 /runtime/rsconf.h
parent706121052d2c2c0bca42b3f8f1e785dd96369772 (diff)
downloadrsyslog-17e3f6b49cccb99316f2907eb3c131ec998ee3c3.tar.gz
rsyslog-17e3f6b49cccb99316f2907eb3c131ec998ee3c3.tar.xz
rsyslog-17e3f6b49cccb99316f2907eb3c131ec998ee3c3.zip
step: $ModLoad handler no longe requries conf obj
re-doing the interface, global var "loadConf" now holds that data. Makes things simpler with legacy handler, as well as new functionality.
Diffstat (limited to 'runtime/rsconf.h')
-rw-r--r--runtime/rsconf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/rsconf.h b/runtime/rsconf.h
index 5cd6bfd0..2eb09851 100644
--- a/runtime/rsconf.h
+++ b/runtime/rsconf.h
@@ -91,6 +91,11 @@ struct globals_s {
struct defaults_s {
};
+
+/* list of modules loaded in this configuration (config specific module list) */
+struct cfgmodules_s {
+};
+
/* outchannel-specific data */
struct outchannels_s {
struct outchannel *ochRoot; /* the root of the outchannel list */
@@ -123,6 +128,7 @@ struct rulesets_s {
/* the rsconf object */
struct rsconf_s {
BEGINobjInstance; /* Data to implement generic object - MUST be the first data element! */
+ cfgmodules_t modules;
globals_t globals;
defaults_t defaults;
templates_t templates;