diff options
Diffstat (limited to 'hicn-light/src/hicn/config/parse.h')
-rw-r--r-- | hicn-light/src/hicn/config/parse.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/hicn-light/src/hicn/config/parse.h b/hicn-light/src/hicn/config/parse.h new file mode 100644 index 000000000..06269208a --- /dev/null +++ b/hicn-light/src/hicn/config/parse.h @@ -0,0 +1,15 @@ +#ifndef HICNLIGHT_PARSE_CMD +#define HICNLIGHT_PARSE_CMD + +#include <hicn/ctrl/api.h> + +int parse(const char* cmd, hc_command_t* command); +int help(const char* cmd); + +/** + * @brief Convert the action enum to the action name used in the commands (e.g. + * from ACTION_CREATE to "add"). + */ +const char* action_to_cmd_action(hc_action_t action); + +#endif /* HICNLIGHT_PARSE_CMD */ |