diff options
Diffstat (limited to 'src/core/wee-command.h')
-rw-r--r-- | src/core/wee-command.h | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/src/core/wee-command.h b/src/core/wee-command.h index ea93e7f20..d36787d19 100644 --- a/src/core/wee-command.h +++ b/src/core/wee-command.h @@ -35,7 +35,7 @@ struct command int min_arg, max_arg; /* min & max number of arguments */ int conversion; /* = 1 if cmd args are converted (charset*/ /* and color) before execution */ - int (*cmd_function)(struct t_gui_buffer *, char *, int, char **); + int (*cmd_function)(struct t_gui_buffer *, int, char **, char **); /* function called when user enters cmd */ }; @@ -51,24 +51,22 @@ extern void command_index_remove (char *); extern int command_is_command (char *); extern void command_print_stdout (struct command *); -extern int command_alias (struct t_gui_buffer *, char *, int, char **); -extern int command_buffer (struct t_gui_buffer *, char *, int, char **); -extern int command_builtin (struct t_gui_buffer *, char *, int, char **); -extern int command_clear (struct t_gui_buffer *, char *, int, char **); -extern int command_debug (struct t_gui_buffer *, char *, int, char **); -extern int command_help (struct t_gui_buffer *, char *, int, char **); -extern int command_history (struct t_gui_buffer *, char *, int, char **); -extern int command_key (struct t_gui_buffer *, char *, int, char **); -extern int command_panel (struct t_gui_buffer *, char *, int, char **); -extern int command_plugin (struct t_gui_buffer *, char *, int, char **); -extern int command_quit (struct t_gui_buffer *, char *, int, char **); -extern int command_save (struct t_gui_buffer *, char *, int, char **); -extern int command_set (struct t_gui_buffer *, char *, int, char **); -extern int command_setp (struct t_gui_buffer *, char *, int, char **); -extern int command_unalias (struct t_gui_buffer *, char *, int, char **); -extern int command_unignore (struct t_gui_buffer *, char *, int, char **); -extern int command_upgrade (struct t_gui_buffer *, char *, int, char **); -extern int command_uptime (struct t_gui_buffer *, char *, int, char **); -extern int command_window (struct t_gui_buffer *, char *, int, char **); +extern int command_alias (struct t_gui_buffer *, int, char **, char **); +extern int command_buffer (struct t_gui_buffer *, int, char **, char **); +extern int command_builtin (struct t_gui_buffer *, int, char **, char **); +extern int command_clear (struct t_gui_buffer *, int, char **, char **); +extern int command_debug (struct t_gui_buffer *, int, char **, char **); +extern int command_help (struct t_gui_buffer *, int, char **, char **); +extern int command_history (struct t_gui_buffer *, int, char **, char **); +extern int command_key (struct t_gui_buffer *, int, char **, char **); +extern int command_plugin (struct t_gui_buffer *, int, char **, char **); +extern int command_quit (struct t_gui_buffer *, int, char **, char **); +extern int command_save (struct t_gui_buffer *, int, char **, char **); +extern int command_set (struct t_gui_buffer *, int, char **, char **); +extern int command_setp (struct t_gui_buffer *, int, char **, char **); +extern int command_unalias (struct t_gui_buffer *, int, char **, char **); +extern int command_upgrade (struct t_gui_buffer *, int, char **, char **); +extern int command_uptime (struct t_gui_buffer *, int, char **, char **); +extern int command_window (struct t_gui_buffer *, int, char **, char **); #endif /* wee-command.h */ |