aboutsummaryrefslogtreecommitdiff
path: root/qemu-char.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2010-03-11 17:55:39 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-03-19 15:27:27 -0500
commit7b27a769f139102c906c8d11d844d51dce068a6a (patch)
treee0770a5a7d8fdf7c60c6fcca1bcfde4b2b7d7504 /qemu-char.c
parent1c39e2a2e4f9a55065a58a28aa2457f80fc3073e (diff)
downloadqemu-7b27a769f139102c906c8d11d844d51dce068a6a.zip
qemu-7b27a769f139102c906c8d11d844d51dce068a6a.tar.gz
qemu-7b27a769f139102c906c8d11d844d51dce068a6a.tar.bz2
rename IOCanRWHandler to IOCanReadHandler
It was always only used for reads Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-char.c')
-rw-r--r--qemu-char.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu-char.c b/qemu-char.c
index 40cfefa..a3d6e64 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -182,7 +182,7 @@ void qemu_chr_send_event(CharDriverState *s, int event)
}
void qemu_chr_add_handlers(CharDriverState *s,
- IOCanRWHandler *fd_can_read,
+ IOCanReadHandler *fd_can_read,
IOReadHandler *fd_read,
IOEventHandler *fd_event,
void *opaque)
@@ -214,7 +214,7 @@ static CharDriverState *qemu_chr_open_null(QemuOpts *opts)
#define MUX_BUFFER_SIZE 32 /* Must be a power of 2. */
#define MUX_BUFFER_MASK (MUX_BUFFER_SIZE - 1)
typedef struct {
- IOCanRWHandler *chr_can_read[MAX_MUX];
+ IOCanReadHandler *chr_can_read[MAX_MUX];
IOReadHandler *chr_read[MAX_MUX];
IOEventHandler *chr_event[MAX_MUX];
void *ext_opaque[MAX_MUX];