mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
32a6ebecd2
commit
7fa47e2a80
18 changed files with 27 additions and 27 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue