/* AUTOMATICALLY GENERATED by qapi-gen.py DO NOT MODIFY */

/*
 * Schema-defined QAPI types
 *
 * Copyright IBM, Corp. 2011
 * Copyright (c) 2013-2018 Red Hat Inc.
 *
 * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
 * See the COPYING.LIB file in the top-level directory.
 */

#include "qemu/osdep.h"
#include "qapi/dealloc-visitor.h"
#include "qapi-types-ebpf.h"
#include "qapi-visit-ebpf.h"
#include "qapi-features.h"

#if defined(CONFIG_EBPF)
void qapi_free_EbpfObject(EbpfObject *obj)
{
    Visitor *v;

    if (!obj) {
        return;
    }

    v = qapi_dealloc_visitor_new();
    visit_type_EbpfObject(v, NULL, &obj, NULL);
    visit_free(v);
}
#endif /* defined(CONFIG_EBPF) */

#if defined(CONFIG_EBPF)
const QEnumLookup EbpfProgramID_lookup = {
    .array = (const char *const[]) {
        [EBPF_PROGRAM_ID_RSS] = "rss",
    },
    .size = EBPF_PROGRAM_ID__MAX
};
#endif /* defined(CONFIG_EBPF) */

/* Dummy declaration to prevent empty .o file */
char qapi_dummy_qapi_types_ebpf_c;
