summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-04-19 09:43:36 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-04-19 09:43:36 +0200
commitf72bde2f701b1a1ff42273e8f9b07de47b480ce9 (patch)
treeb94267445b82b080ef082d8b689d60e97cb5f196 /runtime/rsyslog.c
parentbbe1f2688c4bd5cb1b66bb48af1ce5428d69c3b9 (diff)
downloadrsyslog-f72bde2f701b1a1ff42273e8f9b07de47b480ce9.tar.gz
rsyslog-f72bde2f701b1a1ff42273e8f9b07de47b480ce9.tar.xz
rsyslog-f72bde2f701b1a1ff42273e8f9b07de47b480ce9.zip
milestone: templates are now in config object
Diffstat (limited to 'runtime/rsyslog.c')
-rw-r--r--runtime/rsyslog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/rsyslog.c b/runtime/rsyslog.c
index bdb1c9ff..2b8f2b64 100644
--- a/runtime/rsyslog.c
+++ b/runtime/rsyslog.c
@@ -75,6 +75,7 @@
#include "datetime.h"
#include "queue.h"
#include "conf.h"
+#include "rsconf.h"
#include "glbl.h"
#include "errmsg.h"
#include "prop.h"
@@ -209,6 +210,8 @@ rsrtInit(char **ppErrObj, obj_if_t *pObjIF)
CHKiRet(parserClassInit(NULL));
if(ppErrObj != NULL) *ppErrObj = "strgen";
CHKiRet(strgenClassInit(NULL));
+ if(ppErrObj != NULL) *ppErrObj = "rsconf";
+ CHKiRet(rsconfClassInit(NULL));
/* dummy "classes" */
if(ppErrObj != NULL) *ppErrObj = "str";