static void monitor_qapi_event_emit(QAPIEvent event, QDict *qdict)

{

    Monitor *mon;



    trace_monitor_protocol_event_emit(event, qdict);

    QLIST_FOREACH(mon, &mon_list, entry) {

        if (monitor_is_qmp(mon) && mon->qmp.in_command_mode) {

            monitor_json_emitter(mon, QOBJECT(qdict));

        }

    }

}

static void monitor_qapi_event_emit(QAPIEvent event, QDict *qdict)

{

    Monitor *mon;



    trace_monitor_protocol_event_emit(event, qdict);

    QLIST_FOREACH(mon, &mon_list, entry) {

        if (monitor_is_qmp(mon) && mon->qmp.in_command_mode) {

            monitor_json_emitter(mon, QOBJECT(qdict));

        }

    }

}

        if (monitor_is_qmp(mon) && mon->qmp.in_command_mode) {
static void FUNC_0(QAPIEvent VAR_0, QDict *VAR_1)

{

    Monitor *mon;



    trace_monitor_protocol_event_emit(VAR_0, VAR_1);

    QLIST_FOREACH(mon, &mon_list, entry) {

        if (monitor_is_qmp(mon) && mon->qmp.in_command_mode) {

            monitor_json_emitter(mon, QOBJECT(VAR_1));

        }

    }

}

static void FUNC_0(QAPIEvent VAR_0, QDict *VAR_1)
{ Monitor *mon; trace_monitor_protocol_event_emit(VAR_0, VAR_1); QLIST_FOREACH(mon, &mon_list, entry) { if (monitor_is_qmp(mon) && mon->qmp.in_command_mode) { monitor_json_emitter(mon, QOBJECT(VAR_1)); } } }