summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHans de Goede2013-03-26 11:07:58 +0100
committerAnthony Liguori2013-03-27 16:26:49 +0100
commit574b711a92db094a2d4e7ca707f3b34437a64246 (patch)
tree8591fba70cbfceaf375ee22727e65cf71cd5eb5e /include
parentqemu-char: Cleanup: consolidate fe_open/fe_close into fe_set_open (diff)
downloadqemu-574b711a92db094a2d4e7ca707f3b34437a64246.tar.gz
qemu-574b711a92db094a2d4e7ca707f3b34437a64246.tar.xz
qemu-574b711a92db094a2d4e7ca707f3b34437a64246.zip
qemu-char: Consolidate guest_close/guest_open into a set_fe_open callback
Signed-off-by: Hans de Goede <hdegoede@redhat.com> Message-id: 1364292483-16564-7-git-send-email-hdegoede@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/char/char.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/char/char.h b/include/char/char.h
index a726ddc011..32c9999113 100644
--- a/include/char/char.h
+++ b/include/char/char.h
@@ -68,8 +68,7 @@ struct CharDriverState {
void (*chr_close)(struct CharDriverState *chr);
void (*chr_accept_input)(struct CharDriverState *chr);
void (*chr_set_echo)(struct CharDriverState *chr, bool echo);
- void (*chr_guest_open)(struct CharDriverState *chr);
- void (*chr_guest_close)(struct CharDriverState *chr);
+ void (*chr_set_fe_open)(struct CharDriverState *chr, int fe_open);
void *opaque;
int idle_tag;
char *label;