diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-10-22 12:52:53 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-10-24 15:27:20 +0200 |
commit | 7fa47e2a80e1c204533340f65909b7fc7c6b276f (patch) | |
tree | 06fa4c2de9409c5d1b3f1ec934f8f1234d4de949 /include/sysemu | |
parent | 32a6ebecd2ffe82ffade5edf9e054e20cb48f281 (diff) |
char: rename some frontend functions
qemu_chr_accept_input() and qemu_chr_disconnect() are only used by
frontend, so use qemu_chr_fe prefix.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20161022095318.17775-14-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/sysemu')
-rw-r--r-- | include/sysemu/char.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sysemu/char.h b/include/sysemu/char.h index c518c2ff01..5881094f52 100644 --- a/include/sysemu/char.h +++ b/include/sysemu/char.h @@ -165,11 +165,11 @@ CharDriverState *qemu_chr_new(const char *label, const char *filename); /** - * @qemu_chr_disconnect: + * @qemu_chr_fe_disconnect: * * Close a fd accpeted by character backend. */ -void qemu_chr_disconnect(CharDriverState *chr); +void qemu_chr_fe_disconnect(CharDriverState *chr); /** * @qemu_chr_cleanup: @@ -490,7 +490,7 @@ void qemu_chr_add_handlers_full(CharDriverState *s, GMainContext *context); void qemu_chr_be_generic_open(CharDriverState *s); -void qemu_chr_accept_input(CharDriverState *s); +void qemu_chr_fe_accept_input(CharDriverState *s); int qemu_chr_add_client(CharDriverState *s, int fd); CharDriverState *qemu_chr_find(const char *name); bool chr_is_ringbuf(const CharDriverState *chr); |