opts_start_list(Visitor *v, const char *name, Error **errp)

{

    OptsVisitor *ov = to_ov(v);



    /* we can't traverse a list in a list */

    assert(ov->list_mode == LM_NONE);

    ov->repeated_opts = lookup_distinct(ov, name, errp);

    if (ov->repeated_opts != NULL) {

        ov->list_mode = LM_STARTED;

    }

}

opts_start_list(Visitor *v, const char *name, Error **errp)

{

    OptsVisitor *ov = to_ov(v);



    

    assert(ov->list_mode == LM_NONE);

    ov->repeated_opts = lookup_distinct(ov, name, errp);

    if (ov->repeated_opts != NULL) {

        ov->list_mode = LM_STARTED;

    }

}

FUNC_0(Visitor *VAR_0, const char *VAR_1, Error **VAR_2)

{

    OptsVisitor *ov = to_ov(VAR_0);



    

    assert(ov->list_mode == LM_NONE);

    ov->repeated_opts = lookup_distinct(ov, VAR_1, VAR_2);

    if (ov->repeated_opts != NULL) {

        ov->list_mode = LM_STARTED;

    }

}

FUNC_0(Visitor *VAR_0, const char *VAR_1, Error **VAR_2)
{ OptsVisitor *ov = to_ov(VAR_0); assert(ov->list_mode == LM_NONE); ov->repeated_opts = lookup_distinct(ov, VAR_1, VAR_2); if (ov->repeated_opts != NULL) { ov->list_mode = LM_STARTED; } }