On Sun, Nov 02, 2014 at 04:28:28PM -0600, Keith Wiles wrote: > Allow for a external parser to handle the command line if the > command is not found and the developer has called the routine > int cmdline_set_external_parser(struct cmdline * cl, > cmdline_external_parser_t parser); > function to set the function pointer. > > The function for the external parser function should return > CMDLINE_PARSE_NOMATCH > if not able to match the command requested or zero is handled. > > Prototype of external routine: > int (*cmdline_external_parser_t)(struct cmdline * cl, const char * buy); > > Signed-off-by: Keith Wiles <keith.wiles at windriver.com>
Hi Keith, what is the expected use case for this? Is it for embedding other programming languages alongside the existing DPDK command-line or some other purpose? [Perhaps the use case could be called out in the patch description] /Bruce