aboutsummaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorJeinzi <Jeinzi@gmx.de>2018-09-27 00:53:17 +0200
committerJeinzi <Jeinzi@gmx.de>2018-09-27 00:53:17 +0200
commit51837d93572fe229275d239c7a8d4113ef81ea38 (patch)
tree4c1e2390842c370aea555231d7914df5cc7b2d97 /src/commands.h
parenta8fc50025e2c3470b0ad9e63d6e9f1bc32ff5e8a (diff)
downloadimv-51837d93572fe229275d239c7a8d4113ef81ea38.tar.gz
Implemented imv_command_exec_list().
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h3
1 files changed, 2 insertions, 1 deletions
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