qemu/include/chardev
Marc-André Lureau 4d43a603c7 char: move CharBackend handling in char-fe unit
Move all the frontend struct and methods to a seperate unit. This avoids
accidentally mixing backend and frontend calls, and helps with readabilty.

Make qemu_chr_replay() a macro shared by both char and char-fe.

Export qemu_chr_write(), and use a macro for qemu_chr_write_all()

(nb: yes, CharBackend is for char frontend :)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2017-06-02 11:33:53 +04:00
..
char-fd.h chardev: move headers to include/chardev 2017-06-02 11:33:52 +04:00
char-fe.h char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
char-io.h chardev: move headers to include/chardev 2017-06-02 11:33:52 +04:00
char-mux.h char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
char-parallel.h chardev: serial & parallel declaration to own headers 2017-06-02 11:33:52 +04:00
char-serial.h chardev: serial & parallel declaration to own headers 2017-06-02 11:33:52 +04:00
char-win-stdio.h chardev: move headers to include/chardev 2017-06-02 11:33:52 +04:00
char-win.h chardev: move headers to include/chardev 2017-06-02 11:33:52 +04:00
char.h char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00