aboutsummaryrefslogtreecommitdiff
path: root/qemu-char.h
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.h
parent1c39e2a2e4f9a55065a58a28aa2457f80fc3073e (diff)
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.h')
-rw-r--r--qemu-char.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/qemu-char.h b/qemu-char.h
index bcc07664d3..3a9427be67 100644
--- a/qemu-char.h
+++ b/qemu-char.h
@@ -57,7 +57,7 @@ struct CharDriverState {
int (*chr_ioctl)(struct CharDriverState *s, int cmd, void *arg);
int (*get_msgfd)(struct CharDriverState *s);
IOEventHandler *chr_event;
- IOCanRWHandler *chr_can_read;
+ IOCanReadHandler *chr_can_read;
IOReadHandler *chr_read;
void *handler_opaque;
void (*chr_send_event)(struct CharDriverState *chr, int event);
@@ -79,7 +79,7 @@ void qemu_chr_printf(CharDriverState *s, const char *fmt, ...);
int qemu_chr_write(CharDriverState *s, const uint8_t *buf, int len);
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);
@@ -98,7 +98,7 @@ extern int term_escape_char;
/* async I/O support */
int qemu_set_fd_handler2(int fd,
- IOCanRWHandler *fd_read_poll,
+ IOCanReadHandler *fd_read_poll,
IOHandler *fd_read,
IOHandler *fd_write,
void *opaque);
@@ -106,5 +106,4 @@ int qemu_set_fd_handler(int fd,
IOHandler *fd_read,
IOHandler *fd_write,
void *opaque);
-
#endif