diff options
Diffstat (limited to 'qemu-char.h')
-rw-r--r-- | qemu-char.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/qemu-char.h b/qemu-char.h index 7efcf99f53..8ca1e2d54e 100644 --- a/qemu-char.h +++ b/qemu-char.h @@ -212,6 +212,16 @@ int qemu_chr_be_can_write(CharDriverState *s); */ void qemu_chr_be_write(CharDriverState *s, uint8_t *buf, int len); + +/** + * @qemu_chr_be_event: + * + * Send an event from the back end to the front end. + * + * @event the event to send + */ +void qemu_chr_be_event(CharDriverState *s, int event); + void qemu_chr_add_handlers(CharDriverState *s, IOCanReadHandler *fd_can_read, IOReadHandler *fd_read, |