summaryrefslogtreecommitdiffstats
path: root/runtime/parser.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-10-02 17:25:32 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-10-02 17:25:32 +0200
commit72930188588e54474298d464b943868f60300d7c (patch)
treeff7de847cb9b0e067663da25ee25a345580b676e /runtime/parser.c
parent7a5cfb14adc096ddaa030b9a082ac6d248ba427a (diff)
downloadrsyslog-72930188588e54474298d464b943868f60300d7c.tar.gz
rsyslog-72930188588e54474298d464b943868f60300d7c.tar.xz
rsyslog-72930188588e54474298d464b943868f60300d7c.zip
add "parser" parameter to ruleset(), so that parser chain can be configured
Diffstat (limited to 'runtime/parser.c')
-rw-r--r--runtime/parser.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/parser.c b/runtime/parser.c
index 645ea0f4..b40edf4c 100644
--- a/runtime/parser.c
+++ b/runtime/parser.c
@@ -143,6 +143,14 @@ finalize_it:
RETiRet;
}
+void
+printParserList(parserList_t *pList)
+{
+ while(pList != NULL) {
+ dbgprintf("parser: %s\n", pList->pParser->pName);
+ pList = pList->pNext;
+ }
+}
/* find a parser based on the provided name */
static rsRetVal