From 51837d93572fe229275d239c7a8d4113ef81ea38 Mon Sep 17 00:00:00 2001 From: Jeinzi Date: Thu, 27 Sep 2018 00:53:17 +0200 Subject: Implemented imv_command_exec_list(). --- src/commands.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/commands.h') diff --git a/src/commands.h b/src/commands.h index 256018e..cf81f68 100644 --- a/src/commands.h +++ b/src/commands.h @@ -11,7 +11,8 @@ struct imv_commands *imv_commands_create(void); void imv_commands_free(struct imv_commands *cmds); void imv_command_register(struct imv_commands *cmds, const char *command, void (*handler)(struct list*, const char*, void*)); void imv_command_alias(struct imv_commands *cmds, const char *command, const char *alias); -int imv_command_exec(struct imv_commands *cmds, struct list *commands, void *data); +int imv_command_exec(struct imv_commands *cmds, const char *command, void *data); +int imv_command_exec_list(struct imv_commands *cmds, struct list *commands, void *data); #endif -- cgit v1.2.3