]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/io/channel.h
io: implement socket watch for win32 using WSAEventSelect+select
[mirror_qemu.git] / include / io / channel.h
index 0a1f1ce7fc438ef85e4b083ff485c47feaf79549..d37acd29e0faee2b5f9ee18ac96a7f8c14ee1dd1 100644 (file)
@@ -78,6 +78,9 @@ typedef gboolean (*QIOChannelFunc)(QIOChannel *ioc,
 struct QIOChannel {
     Object parent;
     unsigned int features; /* bitmask of QIOChannelFeatures */
+#ifdef _WIN32
+    HANDLE event; /* For use with GSource on Win32 */
+#endif
 };
 
 /**