static void do_info(Monitor *mon, const QDict *qdict, QObject **ret_data)

{

    const mon_cmd_t *cmd;

    const char *item = qdict_get_try_str(qdict, "item");



    if (!item)

        goto help;



    for (cmd = info_cmds; cmd->name != NULL; cmd++) {

        if (compare_cmd(item, cmd->name))

            break;

    }



    if (cmd->name == NULL)

        goto help;



    if (monitor_handler_ported(cmd)) {

        cmd->mhandler.info_new(mon, ret_data);

        if (*ret_data)

            cmd->user_print(mon, *ret_data);

    } else {

        cmd->mhandler.info(mon);

    }



    return;



help:

    help_cmd(mon, "info");

}

static void do_info(Monitor *mon, const QDict *qdict, QObject **ret_data)

{

    const mon_cmd_t *cmd;

    const char *item = qdict_get_try_str(qdict, "item");



    if (!item)

        goto help;



    for (cmd = info_cmds; cmd->name != NULL; cmd++) {

        if (compare_cmd(item, cmd->name))

            break;

    }



    if (cmd->name == NULL)

        goto help;



    if (monitor_handler_ported(cmd)) {

        cmd->mhandler.info_new(mon, ret_data);

        if (*ret_data)

            cmd->user_print(mon, *ret_data);

    } else {

        cmd->mhandler.info(mon);

    }



    return;



help:

    help_cmd(mon, "info");

}

static void FUNC_0(Monitor *VAR_0, const QDict *VAR_1, QObject **VAR_2)

{

    const mon_cmd_t *VAR_3;

    const char *VAR_4 = qdict_get_try_str(VAR_1, "VAR_4");



    if (!VAR_4)

        goto help;



    for (VAR_3 = info_cmds; VAR_3->name != NULL; VAR_3++) {

        if (compare_cmd(VAR_4, VAR_3->name))

            break;

    }



    if (VAR_3->name == NULL)

        goto help;



    if (monitor_handler_ported(VAR_3)) {

        VAR_3->mhandler.info_new(VAR_0, VAR_2);

        if (*VAR_2)

            VAR_3->user_print(VAR_0, *VAR_2);

    } else {

        VAR_3->mhandler.info(VAR_0);

    }



    return;



help:

    help_cmd(VAR_0, "info");

}

static void FUNC_0(Monitor *VAR_0, const QDict *VAR_1, QObject **VAR_2)
{ const mon_cmd_t *VAR_3; const char *VAR_4 = qdict_get_try_str(VAR_1, "VAR_4"); if (!VAR_4)
goto help; for (VAR_3 = info_cmds; VAR_3->name != NULL; VAR_3++) { if (compare_cmd(VAR_4, VAR_3->name))
break; } if (VAR_3->name == NULL)
goto help; if (monitor_handler_ported(VAR_3)) { VAR_3->mhandler.info_new(VAR_0, VAR_2); if (*VAR_2)
VAR_3->user_print(VAR_0, *VAR_2); } else { VAR_3->mhandler.info(VAR_0); } return; help:
help_cmd(VAR_0, "info"); }