Lines Matching refs:CharBackend
16 struct CharBackend { struct
36 bool qemu_chr_fe_init(CharBackend *b, Chardev *s, Error **errp);
47 void qemu_chr_fe_deinit(CharBackend *b, bool del);
58 Chardev *qemu_chr_fe_get_driver(CharBackend *be);
65 bool qemu_chr_fe_backend_connected(CharBackend *be);
72 bool qemu_chr_fe_backend_open(CharBackend *be);
94 void qemu_chr_fe_set_handlers_full(CharBackend *b,
109 void qemu_chr_fe_set_handlers(CharBackend *b,
125 void qemu_chr_fe_take_focus(CharBackend *b);
132 void qemu_chr_fe_accept_input(CharBackend *be);
140 void qemu_chr_fe_disconnect(CharBackend *be);
148 int qemu_chr_fe_wait_connected(CharBackend *be, Error **errp);
159 void qemu_chr_fe_set_echo(CharBackend *be, bool echo);
169 void qemu_chr_fe_set_open(CharBackend *be, bool is_open);
179 void qemu_chr_fe_printf(CharBackend *be, const char *fmt, ...)
218 guint qemu_chr_fe_add_watch(CharBackend *be, GIOCondition cond,
233 int qemu_chr_fe_write(CharBackend *be, const uint8_t *buf, int len);
248 int qemu_chr_fe_write_all(CharBackend *be, const uint8_t *buf, int len);
260 int qemu_chr_fe_read_all(CharBackend *be, uint8_t *buf, int len);
273 int qemu_chr_fe_ioctl(CharBackend *be, int cmd, void *arg);
286 int qemu_chr_fe_get_msgfd(CharBackend *be);
299 int qemu_chr_fe_get_msgfds(CharBackend *be, int *fds, int num);
312 int qemu_chr_fe_set_msgfds(CharBackend *be, int *fds, int num);