From 498f3e8abb59742720e8ff01b3018802651be430 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 23 Sep 2011 15:15:47 +0200 Subject: Add prefix cmumble_ to struct context and struct user --- src/connection.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/connection.c') 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); -- cgit