aboutsummaryrefslogtreecommitdiff
path: root/qemu-common.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-03-09 18:21:09 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2011-03-29 08:14:01 -0500
commit0298141998ea3e19fd86b5a7122aab2fd1ebad51 (patch)
tree339c5c6f9a0a8b66fa2657aa617d08eb9a8a0fce /qemu-common.h
parent7b67b18adf921c77aa8443f3b4cddab87908ee1e (diff)
extract I/O handler lists to iohandler.c
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-common.h')
-rw-r--r--qemu-common.h3
1 files changed, 3 insertions, 0 deletions
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;