core: added support for raw and catch-all console command handlers.
authorKrisztian Litkey <krisztian.litkey@intel.com>
Fri, 16 Nov 2012 09:22:18 +0000 (11:22 +0200)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Fri, 16 Nov 2012 09:22:18 +0000 (11:22 +0200)
commit774549b86f8a9e4ceedb9f9c21bf35cd00634b23
treec937c49244bca9104d61db60396f7a2896ecec92
parent914385a745cc118ce8600dd4b5ed6e9aa9065b5e
core: added support for raw and catch-all console command handlers.

Raw command handlers get their input in the original raw/untokenized
format only with the command group and command name separated from
the actual arguments.

Catch-all command handlers are fallback command handlers that get
invoked for all group commands without a matchink handler. IOW, if
a group has a catch-all handler the core console will never give an
error about unrecognized commands but rather invoke the catch-all
handler for these.
src/core/console-command.h
src/core/console.c