aboutsummaryrefslogtreecommitdiff
path: root/qemu-char.h
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-25 00:55:06 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-25 00:55:06 +0000
commitbd9bdce694ccb76facc882363e4c337e8a88c918 (patch)
treeceecf17dd8ee34cca7ce61ae831b82018bece0c3 /qemu-char.h
parent1fc678cc72d7ba572fe1ac55dc2f711e77357e54 (diff)
Add input buffer to mux chr (patch by Tristan Gingold).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3735 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'qemu-char.h')
-rw-r--r--qemu-char.h2
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 */