diff options
Diffstat (limited to 'qemu-common.h')
-rw-r--r-- | qemu-common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qemu-common.h b/qemu-common.h index 6860fb3..d3932a1 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -222,6 +222,7 @@ ssize_t qemu_write_full(int fd, const void *buf, size_t count) void qemu_set_cloexec(int fd); #ifndef _WIN32 +int qemu_add_child_watch(pid_t pid); int qemu_eventfd(int pipefd[2]); int qemu_pipe(int pipefd[2]); #endif @@ -238,6 +239,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; |