![]() |
2 years ago | |
---|---|---|
.. | ||
Makefile.am | 2 years ago | |
README.md | 2 years ago | |
parser.c | 2 years ago | |
parser.h | 2 years ago |
Generic parser that is used to register keywords and a corresponding function that will be executed when that keyword is encountered in the command stream (either from plugins or via streaming)
To use a parser do the following:
void *user
)parser_init
parser_add_keyword
parser_next
(if needed)parser_action
parser_destroy
See examples in receiver.c / pluginsd_parser.c