Lines Matching refs:ch
93 GIOChannel *ch; member
180 static gboolean event_cb(GIOChannel *ch, GIOCondition condition, gpointer data) in event_cb() argument
184 int fd = g_io_channel_unix_get_fd(ch); in event_cb()
232 f->ev = g_io_add_watch(f->ch, kind, event_cb, g); in setsock()
241 fdp->ch = g_io_channel_unix_new(s); in addsock()
331 static gboolean fifo_cb(GIOChannel *ch, GIOCondition condition, gpointer data) in fifo_cb() argument
340 rv = g_io_channel_read_line(ch, &buf, &len, &tp, &err); in fifo_cb()
352 g_io_channel_read_chars(ch, buf, BUF_SIZE, &len, &err); in fifo_cb()
419 GIOChannel* ch; in main() local
423 ch = g_io_channel_unix_new(fd); in main()
424 g_io_add_watch(ch, G_IO_IN, fifo_cb, g); in main()