summaryrefslogtreecommitdiff
path: root/src/io.c
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-09-23 15:15:47 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-09-23 15:18:45 +0200
commit498f3e8abb59742720e8ff01b3018802651be430 (patch)
tree7aeabb72eca06c03ccdc67be46c96b973768778c /src/io.c
parent6efcc38a8521a17074626456cda67e7d35f2b7c5 (diff)
downloadcmumble-498f3e8abb59742720e8ff01b3018802651be430.tar.gz
cmumble-498f3e8abb59742720e8ff01b3018802651be430.tar.bz2
cmumble-498f3e8abb59742720e8ff01b3018802651be430.zip
Add prefix cmumble_ to struct context and struct user
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/io.c b/src/io.c
index 33d1232..7c69447 100644
--- a/src/io.c
+++ b/src/io.c
@@ -22,7 +22,7 @@ static gpointer global_rl_user_data = NULL;
static gboolean
read_cb(GIOChannel *source, GIOCondition condition, gpointer data)
{
- struct context *ctx = data;
+ struct cmumble_context *ctx = data;
if (condition & G_IO_IN) {
global_rl_user_data = ctx;
@@ -65,7 +65,7 @@ print_preserve_prompt(const gchar *string)
static void
process_line(char *line)
{
- struct context *ctx = global_rl_user_data;
+ struct cmumble_context *ctx = global_rl_user_data;
int i;
g_assert(global_rl_user_data);
@@ -95,7 +95,7 @@ process_line(char *line)
}
int
-cmumble_io_init(struct context *ctx)
+cmumble_io_init(struct cmumble_context *ctx)
{
struct termios term;
@@ -126,7 +126,7 @@ cmumble_io_init(struct context *ctx)
}
int
-cmumble_io_fini(struct context *ctx)
+cmumble_io_fini(struct cmumble_context *ctx)
{
rl_callback_handler_remove();
g_io_channel_unref(ctx->io.input_channel);