diff options
Diffstat (limited to 'qemu-char.h')
-rw-r--r-- | qemu-char.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-char.h b/qemu-char.h index 5a36a36831..29de03df58 100644 --- a/qemu-char.h +++ b/qemu-char.h @@ -40,6 +40,7 @@ struct CharDriverState { void *handler_opaque; void (*chr_send_event)(struct CharDriverState *chr, int event); void (*chr_close)(struct CharDriverState *chr); + void (*chr_accept_input)(struct CharDriverState *chr); void *opaque; int focus; QEMUBH *bh; @@ -59,6 +60,7 @@ int qemu_chr_ioctl(CharDriverState *s, int cmd, void *arg); void qemu_chr_reset(CharDriverState *s); int qemu_chr_can_read(CharDriverState *s); void qemu_chr_read(CharDriverState *s, uint8_t *buf, int len); +void qemu_chr_accept_input(CharDriverState *s); /* async I/O support */ |