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/connection.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/connection.c')
-rw-r--r-- | src/connection.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/connection.c b/src/connection.c index c9b7d5c..58a5e67 100644 --- a/src/connection.c +++ b/src/connection.c @@ -8,7 +8,7 @@ static gboolean read_cb(GObject *pollable_stream, gpointer data) { GPollableInputStream *input = G_POLLABLE_INPUT_STREAM(pollable_stream); - struct context *ctx = data; + struct cmumble_context *ctx = data; gint count; do { @@ -19,7 +19,7 @@ read_cb(GObject *pollable_stream, gpointer data) } static gboolean -do_ping(struct context *ctx) +do_ping(struct cmumble_context *ctx) { MumbleProto__Ping ping; GTimeVal tv; @@ -34,7 +34,7 @@ do_ping(struct context *ctx) } static void -setup_ping_timer(struct context *ctx) +setup_ping_timer(struct cmumble_context *ctx) { GSource *source; @@ -45,7 +45,7 @@ setup_ping_timer(struct context *ctx) } int -cmumble_connection_init(struct context *ctx, +cmumble_connection_init(struct cmumble_context *ctx, const char *host, int port) { struct cmumble_connection *con = &ctx->con; @@ -90,7 +90,7 @@ cmumble_connection_init(struct context *ctx, } int -cmumble_connection_fini(struct context *ctx) +cmumble_connection_fini(struct cmumble_context *ctx) { g_source_remove(g_source_get_id(ctx->con.source)); g_source_unref(ctx->con.source); |