Revision 13661089 qemu-char.h

b/qemu-char.h
57 57
    void (*chr_update_read_handler)(struct CharDriverState *s);
58 58
    int (*chr_ioctl)(struct CharDriverState *s, int cmd, void *arg);
59 59
    int (*get_msgfd)(struct CharDriverState *s);
60
    int (*chr_add_client)(struct CharDriverState *chr, int fd);
60 61
    IOEventHandler *chr_event;
61 62
    IOCanReadHandler *chr_can_read;
62 63
    IOReadHandler *chr_read;
......
99 100
void qemu_chr_read(CharDriverState *s, uint8_t *buf, int len);
100 101
int qemu_chr_get_msgfd(CharDriverState *s);
101 102
void qemu_chr_accept_input(CharDriverState *s);
103
int qemu_chr_add_client(CharDriverState *s, int fd);
102 104
void qemu_chr_info_print(Monitor *mon, const QObject *ret_data);
103 105
void qemu_chr_info(Monitor *mon, QObject **ret_data);
104 106
CharDriverState *qemu_chr_find(const char *name);

Also available in: Unified diff