diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-09-12 16:44:30 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2011-10-21 18:14:30 +0200 |
commit | 44a9b356ad12e63acc1198d1fc356870050a214d (patch) | |
tree | 7bcd02e086c3cc48152bdffe3d6e51d0a8f15bb6 /qemu-os-win32.h | |
parent | fbdc14ebf8d16f00a87b6f4cdb4799ccfb6469be (diff) | |
download | qemu-44a9b356ad12e63acc1198d1fc356870050a214d.tar.gz qemu-44a9b356ad12e63acc1198d1fc356870050a214d.tar.bz2 qemu-44a9b356ad12e63acc1198d1fc356870050a214d.zip |
main-loop: create main-loop.h
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-os-win32.h')
-rw-r--r-- | qemu-os-win32.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/qemu-os-win32.h b/qemu-os-win32.h index 8a069d7fb6..5a9fd5dade 100644 --- a/qemu-os-win32.h +++ b/qemu-os-win32.h @@ -28,24 +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) {} |