diff options
author | Jeinzi <Jeinzi@gmx.de> | 2018-09-27 00:53:17 +0200 |
---|---|---|
committer | Jeinzi <Jeinzi@gmx.de> | 2018-09-27 00:53:17 +0200 |
commit | 51837d93572fe229275d239c7a8d4113ef81ea38 (patch) | |
tree | 4c1e2390842c370aea555231d7914df5cc7b2d97 /src/commands.h | |
parent | a8fc50025e2c3470b0ad9e63d6e9f1bc32ff5e8a (diff) | |
download | imv-51837d93572fe229275d239c7a8d4113ef81ea38.tar.gz |
Implemented imv_command_exec_list().
Diffstat (limited to 'src/commands.h')
-rw-r--r-- | src/commands.h | 3 |
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 |