aio: add AioPollFn and io_poll() interface
[qemu.git] / stubs / set-fd-handler.c
1 #include "qemu/osdep.h"
2 #include "qemu-common.h"
3 #include "qemu/main-loop.h"
4
5 void qemu_set_fd_handler(int fd,
6 IOHandler *fd_read,
7 IOHandler *fd_write,
8 void *opaque)
9 {
10 abort();
11 }
12
13 void aio_set_fd_handler(AioContext *ctx,
14 int fd,
15 bool is_external,
16 IOHandler *io_read,
17 IOHandler *io_write,
18 AioPollFn *io_poll,
19 void *opaque)
20 {
21 abort();
22 }