aboutsummaryrefslogtreecommitdiff
path: root/qga/channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'qga/channel.h')
-rw-r--r--qga/channel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qga/channel.h b/qga/channel.h
index 8fd0c8f..1778416 100644
--- a/qga/channel.h
+++ b/qga/channel.h
@@ -25,7 +25,8 @@ typedef enum {
typedef gboolean (*GAChannelCallback)(GIOCondition condition, gpointer opaque);
GAChannel *ga_channel_new(GAChannelMethod method, const gchar *path,
- GAChannelCallback cb, gpointer opaque);
+ int listen_fd, GAChannelCallback cb,
+ gpointer opaque);
void ga_channel_free(GAChannel *c);
GIOStatus ga_channel_read(GAChannel *c, gchar *buf, gsize size, gsize *count);
GIOStatus ga_channel_write_all(GAChannel *c, const gchar *buf, gsize size);