diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-03 12:39:48 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-03 12:39:48 +0100 |
commit | 6f511cecfae3592f271627ebcb41e6a8c4f831e9 (patch) | |
tree | fbc67531528d42ba50c66e1d9129792bad5a3cc5 /runtime/rsyslog.c | |
parent | 7d78b3bdfd357dd921797ce983eb96532c56a7f6 (diff) | |
download | rsyslog-6f511cecfae3592f271627ebcb41e6a8c4f831e9.tar.gz rsyslog-6f511cecfae3592f271627ebcb41e6a8c4f831e9.tar.xz rsyslog-6f511cecfae3592f271627ebcb41e6a8c4f831e9.zip |
more cleanup and working towards a parser module calling interface
I cleaned up a lot of config variable access along the way. This
version compiles and runs, but does not yet offer any enhanced
functionality. pmrfc5424 is just a dummy that is not yet being used.
Diffstat (limited to 'runtime/rsyslog.c')
-rw-r--r-- | runtime/rsyslog.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/rsyslog.c b/runtime/rsyslog.c index 443d0f41..8c44d16a 100644 --- a/runtime/rsyslog.c +++ b/runtime/rsyslog.c @@ -80,6 +80,7 @@ #include "prop.h" #include "rule.h" #include "ruleset.h" +#include "parser.h" /* forward definitions */ static rsRetVal dfltErrLogger(int, uchar *errMsg); @@ -183,6 +184,8 @@ rsrtInit(char **ppErrObj, obj_if_t *pObjIF) CHKiRet(qqueueClassInit(NULL)); if(ppErrObj != NULL) *ppErrObj = "conf"; CHKiRet(confClassInit(NULL)); + if(ppErrObj != NULL) *ppErrObj = "parser"; + CHKiRet(parserClassInit(NULL)); /* dummy "classes" */ if(ppErrObj != NULL) *ppErrObj = "str"; |