From 0298141998ea3e19fd86b5a7122aab2fd1ebad51 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 9 Mar 2011 18:21:09 +0100 Subject: extract I/O handler lists to iohandler.c Signed-off-by: Paolo Bonzini Signed-off-by: Anthony Liguori --- qemu-common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qemu-common.h') diff --git a/qemu-common.h b/qemu-common.h index 7a96dd14e8..665c89380b 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -227,6 +227,9 @@ typedef void IOReadHandler(void *opaque, const uint8_t *buf, int size); typedef int IOCanReadHandler(void *opaque); typedef void IOHandler(void *opaque); +void qemu_iohandler_fill(int *pnfds, fd_set *readfds, fd_set *writefds, fd_set *xfds); +void qemu_iohandler_poll(fd_set *readfds, fd_set *writefds, fd_set *xfds, int rc); + struct ParallelIOArg { void *buffer; int count; -- cgit v1.2.3