From 72930188588e54474298d464b943868f60300d7c Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 2 Oct 2012 17:25:32 +0200 Subject: add "parser" parameter to ruleset(), so that parser chain can be configured --- runtime/parser.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'runtime/parser.c') 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 -- cgit v1.2.3