diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-09-23 15:15:47 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-09-23 15:18:45 +0200 |
commit | 498f3e8abb59742720e8ff01b3018802651be430 (patch) | |
tree | 7aeabb72eca06c03ccdc67be46c96b973768778c /src/commands.c | |
parent | 6efcc38a8521a17074626456cda67e7d35f2b7c5 (diff) | |
download | cmumble-498f3e8abb59742720e8ff01b3018802651be430.tar.gz cmumble-498f3e8abb59742720e8ff01b3018802651be430.tar.bz2 cmumble-498f3e8abb59742720e8ff01b3018802651be430.zip |
Add prefix cmumble_ to struct context and struct user
Diffstat (limited to 'src/commands.c')
-rw-r--r-- | src/commands.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/commands.c b/src/commands.c index be78a69..656869c 100644 --- a/src/commands.c +++ b/src/commands.c @@ -8,9 +8,9 @@ #include <readline/history.h> static void -list_users(struct context *ctx) +list_users(struct cmumble_context *ctx) { - struct user *user = NULL; + struct cmumble_user *user = NULL; GList *l; for (l = ctx->users; l; l = l->next) { @@ -21,14 +21,14 @@ list_users(struct context *ctx) } static void -quit(struct context *ctx) +quit(struct cmumble_context *ctx) { rl_already_prompted = 1; g_main_loop_quit(ctx->loop); } static void -clear(struct context *ctx) +clear(struct cmumble_context *ctx) { rl_clear_screen(0,0); rl_reset_line_state(); @@ -36,7 +36,7 @@ clear(struct context *ctx) } static void -help(struct context *ctx) +help(struct cmumble_context *ctx) { int i; @@ -54,7 +54,7 @@ static const struct cmumble_command commands[] = { }; void -cmumble_commands_init(struct context *ctx) +cmumble_commands_init(struct cmumble_context *ctx) { ctx->commands = commands; } |