From ab862e33add80efae9da080df9369dd3c254cb54 Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Sat, 23 Sep 2017 00:41:30 +0100 Subject: Give commands the full arg string too --- src/commands.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands.h') diff --git a/src/commands.h b/src/commands.h index a955fac..2da0617 100644 --- a/src/commands.h +++ b/src/commands.h @@ -26,7 +26,7 @@ struct imv_commands { 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 imv_list*, void*)); +void imv_command_register(struct imv_commands *cmds, const char *command, void (*handler)(struct imv_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, const char *command, void *data); -- cgit v1.2.3