aboutsummaryrefslogtreecommitdiff
path: root/qemu-os-win32.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-10-24 10:51:12 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-10-24 10:51:12 -0500
commit952e849c150b4f1b89f8728cba00f925c1d6e75b (patch)
tree93e950b81e84d1d20a915d8b1da5c75d3911f553 /qemu-os-win32.h
parentdb418a0a7ef5887ea0f3d167584e6f500bb0c4c5 (diff)
parent99435906cc92a45d6c2f7e18221d31349836f90e (diff)
Merge remote-tracking branch 'bonzini/split-main-loop-for-anthony' into staging
Diffstat (limited to 'qemu-os-win32.h')
-rw-r--r--qemu-os-win32.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/qemu-os-win32.h b/qemu-os-win32.h
index 8a069d7fb6..8eda4bdc20 100644
--- a/qemu-os-win32.h
+++ b/qemu-os-win32.h
@@ -28,26 +28,11 @@
#include <windows.h>
#include <winsock2.h>
+#include "main-loop.h"
/* Declaration of ffs() is missing in MinGW's strings.h. */
int ffs(int i);
-/* Polling handling */
-
-/* return TRUE if no sleep should be done afterwards */
-typedef int PollingFunc(void *opaque);
-
-int qemu_add_polling_cb(PollingFunc *func, void *opaque);
-void qemu_del_polling_cb(PollingFunc *func, void *opaque);
-
-/* Wait objects handling */
-typedef void WaitObjectFunc(void *opaque);
-
-int qemu_add_wait_object(HANDLE handle, WaitObjectFunc *func, void *opaque);
-void qemu_del_wait_object(HANDLE handle, WaitObjectFunc *func, void *opaque);
-
-void os_host_main_loop_wait(int *timeout);
-
static inline void os_setup_signal_handling(void) {}
static inline void os_daemonize(void) {}
static inline void os_setup_post(void) {}