Add framework for switching command sets

This will allow the bar {} block to have a different command set (and
also bar { colors { } }.
This commit is contained in:
Drew DeVault 2015-11-29 17:20:27 -05:00
parent 4f89735fc4
commit 44d0f731c3
3 changed files with 30 additions and 7 deletions

View file

@ -41,7 +41,7 @@ struct cmd_results *handle_command(char *command);
*
* Do not use this under normal conditions.
*/
struct cmd_results *config_command(char *command);
struct cmd_results *config_command(char *command, enum cmd_status block);
/**
* Allocates a cmd_results object.