Add minimal config subsystem

This commit is contained in:
emersion 2017-12-05 10:40:55 +01:00
parent 83b4c0648d
commit 90f7f1a0e6
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
11 changed files with 1091 additions and 19 deletions

View file

@ -46,6 +46,16 @@ struct cmd_results *checkarg(int argc, const char *name,
* Parse and handles a command.
*/
struct cmd_results *handle_command(char *command);
/**
* Parse and handles a command during config file loading.
*
* Do not use this under normal conditions.
*/
struct cmd_results *config_command(char *command, enum cmd_status block);
/*
* Parses a command policy rule.
*/
struct cmd_results *config_commands_command(char *exec);
/**
* Allocates a cmd_results object.
*/