aboutsummaryrefslogtreecommitdiffstats
path: root/qemu-common.h
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-05-11 00:19:06 +0200
committerDavid 'Digit' Turner <digit@android.com>2011-06-01 17:08:19 +0200
commit8354d2d35fe4463816dcc52a96fa354940fdd38f (patch)
treeef625def241f8a0a69c83f5b63bbc4ffc702663b /qemu-common.h
parentd3d4468189618e89f74d8f51b8470f277e000938 (diff)
downloadexternal_qemu-8354d2d35fe4463816dcc52a96fa354940fdd38f.zip
external_qemu-8354d2d35fe4463816dcc52a96fa354940fdd38f.tar.gz
external_qemu-8354d2d35fe4463816dcc52a96fa354940fdd38f.tar.bz2
vl-android.c: Move code to iohandler.c
Change-Id: I28d2025dfa1f7bfc1ab2318f5ff6c0fd56f4b658
Diffstat (limited to 'qemu-common.h')
-rw-r--r--qemu-common.h4
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;