diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-04 15:34:31 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-04 15:34:31 +0100 |
commit | aa2e8ea15b2001f131ebd196c180cc82aceb57b4 (patch) | |
tree | 5d285066e3ce83fc0ada6059174e6dfcd2d78632 /runtime/parser.h | |
parent | b6a92e2f23895cadf9f0ea2de64021912bd2eeb0 (diff) | |
download | rsyslog-aa2e8ea15b2001f131ebd196c180cc82aceb57b4.tar.gz rsyslog-aa2e8ea15b2001f131ebd196c180cc82aceb57b4.tar.xz rsyslog-aa2e8ea15b2001f131ebd196c180cc82aceb57b4.zip |
first complete implementation of loadable parser system
I have now done the necessary cleanup. Looks like everything is in place.
Unfortunately, I do not yet have any actual parser that is not built-in,
but I think we can postpone working on that when the first one appears.
I don't expect troubles in that case, but you never know ;)
Diffstat (limited to 'runtime/parser.h')
-rw-r--r-- | runtime/parser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/parser.h b/runtime/parser.h index a92b9920..c4f63021 100644 --- a/runtime/parser.h +++ b/runtime/parser.h @@ -54,6 +54,7 @@ BEGINinterface(parser) /* name must also be changed in ENDinterface macro! */ rsRetVal (*SetDoPRIParsing)(parser_t *pThis, int); rsRetVal (*FindParser)(parser_t **ppThis, uchar*name); rsRetVal (*InitParserList)(parserList_t **pListRoot); + rsRetVal (*DestructParserList)(parserList_t **pListRoot); rsRetVal (*AddParserToList)(parserList_t **pListRoot, parser_t *pParser); /* static functions */ rsRetVal (*ParseMsg)(msg_t *pMsg); |