aboutsummaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2017-09-23 00:41:30 +0100
committerHarry Jeffery <harry@exec64.co.uk>2017-11-23 21:34:11 +0000
commitab862e33add80efae9da080df9369dd3c254cb54 (patch)
tree0a46c8e2c709717dbfdd691ae5d2c6d0df5e16db /src/commands.h
parent6d000e51014a2c34a510539ed9f4e8b9a0c8c059 (diff)
downloadimv-ab862e33add80efae9da080df9369dd3c254cb54.tar.gz
Give commands the full arg string too
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h2
1 files changed, 1 insertions, 1 deletions
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);