void hmp_memchar_write(Monitor *mon, const QDict *qdict)

{

    uint32_t size;

    const char *chardev = qdict_get_str(qdict, "device");

    const char *data = qdict_get_str(qdict, "data");

    Error *errp = NULL;



    size = strlen(data);

    qmp_memchar_write(chardev, size, data, false, 0, &errp);



    hmp_handle_error(mon, &errp);

}

void hmp_memchar_write(Monitor *mon, const QDict *qdict)

{

    uint32_t size;

    const char *chardev = qdict_get_str(qdict, "device");

    const char *data = qdict_get_str(qdict, "data");

    Error *errp = NULL;



    size = strlen(data);

    qmp_memchar_write(chardev, size, data, false, 0, &errp);



    hmp_handle_error(mon, &errp);

}

    uint32_t size;     size = strlen(data);     qmp_memchar_write(chardev, size, data, false, 0, &errp);
void FUNC_0(Monitor *VAR_0, const QDict *VAR_1)

{

    uint32_t size;

    const char *VAR_2 = qdict_get_str(VAR_1, "device");

    const char *VAR_3 = qdict_get_str(VAR_1, "VAR_3");

    Error *errp = NULL;



    size = strlen(VAR_3);

    qmp_memchar_write(VAR_2, size, VAR_3, false, 0, &errp);



    hmp_handle_error(VAR_0, &errp);

}

void FUNC_0(Monitor *VAR_0, const QDict *VAR_1)
{ uint32_t size; const char *VAR_2 = qdict_get_str(VAR_1, "device"); const char *VAR_3 = qdict_get_str(VAR_1, "VAR_3"); Error *errp = NULL; size = strlen(VAR_3); qmp_memchar_write(VAR_2, size, VAR_3, false, 0, &errp); hmp_handle_error(VAR_0, &errp); }