]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qga/channel.h
cpu: use ROUND_UP() to define xxx_PAGE_ALIGN
[mirror_qemu.git] / qga / channel.h
index 8fd0c8f72c3a807543bc93992d5e58b325053ef6..17784161150ea07465b3d0785f543792e190f375 100644 (file)
@@ -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);