int qemu_chr_open_msmouse(QemuOpts *opts, CharDriverState **_chr)

{

    CharDriverState *chr;



    chr = g_malloc0(sizeof(CharDriverState));

    chr->chr_write = msmouse_chr_write;

    chr->chr_close = msmouse_chr_close;



    qemu_add_mouse_event_handler(msmouse_event, chr, 0, "QEMU Microsoft Mouse");



    *_chr = chr;

    return 0;

}

int qemu_chr_open_msmouse(QemuOpts *opts, CharDriverState **_chr)

{

    CharDriverState *chr;



    chr = g_malloc0(sizeof(CharDriverState));

    chr->chr_write = msmouse_chr_write;

    chr->chr_close = msmouse_chr_close;



    qemu_add_mouse_event_handler(msmouse_event, chr, 0, "QEMU Microsoft Mouse");



    *_chr = chr;

    return 0;

}

    *_chr = chr;     return 0;     *_chr = chr;     return 0; int qemu_chr_open_msmouse(QemuOpts *opts, CharDriverState **_chr)     *_chr = chr;     return 0;     return 0;     return 0;     return 0;     *_chr = chr;     return 0;     *_chr = chr;     return 0;     *_chr = chr;     return 0;     *_chr = chr;     return 0;     *_chr = chr;     return 0;     *_chr = chr;     return 0;     *_chr = chr;     return 0;     return 0;     *_chr = chr;     return 0;     *_chr = chr;     return 0;     *_chr = chr;     return 0;     *_chr = chr;     return 0;
int FUNC_0(QemuOpts *VAR_0, CharDriverState **VAR_1)

{

    CharDriverState *chr;



    chr = g_malloc0(sizeof(CharDriverState));

    chr->chr_write = msmouse_chr_write;

    chr->chr_close = msmouse_chr_close;



    qemu_add_mouse_event_handler(msmouse_event, chr, 0, "QEMU Microsoft Mouse");



    *VAR_1 = chr;

    return 0;

}

int FUNC_0(QemuOpts *VAR_0, CharDriverState **VAR_1)
{ CharDriverState *chr; chr = g_malloc0(sizeof(CharDriverState)); chr->chr_write = msmouse_chr_write; chr->chr_close = msmouse_chr_close; qemu_add_mouse_event_handler(msmouse_event, chr, 0, "QEMU Microsoft Mouse"); *VAR_1 = chr; return 0; }