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