static void flat_print_key_prefix(WriterContext *wctx)

{

    FlatContext *flat = wctx->priv;

    const struct section *parent_section = wctx->section[wctx->level-1];



    printf("%s", flat->section_header[wctx->level].str);



    if (parent_section->flags & SECTION_FLAG_IS_ARRAY) {

        int n = parent_section->id == SECTION_ID_PACKETS_AND_FRAMES ?

            wctx->nb_section_packet_frame : wctx->nb_item[wctx->level-1];

        printf("%d%s", n, flat->sep_str);

    }

}

static void flat_print_key_prefix(WriterContext *wctx)

{

    FlatContext *flat = wctx->priv;

    const struct section *parent_section = wctx->section[wctx->level-1];



    printf("%s", flat->section_header[wctx->level].str);



    if (parent_section->flags & SECTION_FLAG_IS_ARRAY) {

        int n = parent_section->id == SECTION_ID_PACKETS_AND_FRAMES ?

            wctx->nb_section_packet_frame : wctx->nb_item[wctx->level-1];

        printf("%d%s", n, flat->sep_str);

    }

}

static void FUNC_0(WriterContext *VAR_0)

{

    FlatContext *flat = VAR_0->priv;

    const struct section *VAR_1 = VAR_0->section[VAR_0->level-1];



    printf("%s", flat->section_header[VAR_0->level].str);



    if (VAR_1->flags & SECTION_FLAG_IS_ARRAY) {

        int VAR_2 = VAR_1->id == SECTION_ID_PACKETS_AND_FRAMES ?

            VAR_0->nb_section_packet_frame : VAR_0->nb_item[VAR_0->level-1];

        printf("%d%s", VAR_2, flat->sep_str);

    }

}

static void FUNC_0(WriterContext *VAR_0)
{ FlatContext *flat = VAR_0->priv; const struct section *VAR_1 = VAR_0->section[VAR_0->level-1]; printf("%s", flat->section_header[VAR_0->level].str); if (VAR_1->flags & SECTION_FLAG_IS_ARRAY) { int VAR_2 = VAR_1->id == SECTION_ID_PACKETS_AND_FRAMES ?
VAR_0->nb_section_packet_frame : VAR_0->nb_item[VAR_0->level-1]; printf("%d%s", VAR_2, flat->sep_str); } }