Lines Matching refs:client_channel
17 GIOChannel *client_channel; member
77 g_assert(c->client_channel); in ga_channel_client_close()
78 g_io_channel_shutdown(c->client_channel, true, NULL); in ga_channel_client_close()
79 g_io_channel_unref(c->client_channel); in ga_channel_client_close()
80 c->client_channel = NULL; in ga_channel_client_close()
105 GIOChannel *client_channel; in ga_channel_client_add() local
108 g_assert(c && !c->client_channel); in ga_channel_client_add()
109 client_channel = g_io_channel_unix_new(fd); in ga_channel_client_add()
110 g_assert(client_channel); in ga_channel_client_add()
111 g_io_channel_set_encoding(client_channel, NULL, &err); in ga_channel_client_add()
117 g_io_add_watch(client_channel, G_IO_IN | G_IO_HUP, in ga_channel_client_add()
119 c->client_channel = client_channel; in ga_channel_client_add()
259 status = g_io_channel_write_chars(c->client_channel, buf, size, in ga_channel_write_all()
271 status = g_io_channel_flush(c->client_channel, &err); in ga_channel_write_all()
283 return g_io_channel_read_chars(c->client_channel, buf, size, count, NULL); in ga_channel_read()
309 if (c->client_channel) { in ga_channel_free()