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 a2cca59..24290af 100644 --- a/src/commands.h +++ b/src/commands.h @@ -1,17 +1,17 @@ #ifndef _COMMANDS_H_ #define _COMMANDS_H_ -struct cmumble_context; +struct cmumlbe; struct cmumble_command { const char *name; - void (*callback)(struct cmumble_context *, + void (*callback)(struct cmumlbe *, int argc, char **argv); const char *description; }; void -cmumble_commands_init(struct cmumble_context *ctx); +cmumble_commands_init(struct cmumlbe *cm); const char * cmumble_command_expand_shortcut(const char *text); |