diff options
Diffstat (limited to 'src/commands.h')
-rw-r--r-- | src/commands.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands.h b/src/commands.h index 2da0617..19a0bf9 100644 --- a/src/commands.h +++ b/src/commands.h @@ -18,15 +18,15 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #ifndef COMMANDS_H #define COMMANDS_H -struct imv_list; +struct list; struct imv_commands { - struct imv_list *command_list; + struct list *command_list; }; 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*, const char*, void*)); +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, const char *command, void *data); |