static void qmp_input_check_struct(Visitor *v, Error **errp)

{

    QmpInputVisitor *qiv = to_qiv(v);

    StackObject *tos = &qiv->stack[qiv->nb_stack - 1];



    assert(qiv->nb_stack > 0);



    if (qiv->strict) {

        GHashTable *const top_ht = tos->h;

        if (top_ht) {

            GHashTableIter iter;

            const char *key;



            g_hash_table_iter_init(&iter, top_ht);

            if (g_hash_table_iter_next(&iter, (void **)&key, NULL)) {

                error_setg(errp, QERR_QMP_EXTRA_MEMBER, key);

            }

        }

    }

}

static void qmp_input_check_struct(Visitor *v, Error **errp)

{

    QmpInputVisitor *qiv = to_qiv(v);

    StackObject *tos = &qiv->stack[qiv->nb_stack - 1];



    assert(qiv->nb_stack > 0);



    if (qiv->strict) {

        GHashTable *const top_ht = tos->h;

        if (top_ht) {

            GHashTableIter iter;

            const char *key;



            g_hash_table_iter_init(&iter, top_ht);

            if (g_hash_table_iter_next(&iter, (void **)&key, NULL)) {

                error_setg(errp, QERR_QMP_EXTRA_MEMBER, key);

            }

        }

    }

}

static void FUNC_0(Visitor *VAR_0, Error **VAR_1)

{

    QmpInputVisitor *qiv = to_qiv(VAR_0);

    StackObject *tos = &qiv->stack[qiv->nb_stack - 1];



    assert(qiv->nb_stack > 0);



    if (qiv->strict) {

        GHashTable *const top_ht = tos->h;

        if (top_ht) {

            GHashTableIter iter;

            const char *VAR_2;



            g_hash_table_iter_init(&iter, top_ht);

            if (g_hash_table_iter_next(&iter, (void **)&VAR_2, NULL)) {

                error_setg(VAR_1, QERR_QMP_EXTRA_MEMBER, VAR_2);

            }

        }

    }

}

static void FUNC_0(Visitor *VAR_0, Error **VAR_1)
{ QmpInputVisitor *qiv = to_qiv(VAR_0); StackObject *tos = &qiv->stack[qiv->nb_stack - 1]; assert(qiv->nb_stack > 0); if (qiv->strict) { GHashTable *const top_ht = tos->h; if (top_ht) { GHashTableIter iter; const char *VAR_2; g_hash_table_iter_init(&iter, top_ht); if (g_hash_table_iter_next(&iter, (void **)&VAR_2, NULL)) { error_setg(VAR_1, QERR_QMP_EXTRA_MEMBER, VAR_2); } } } }