master
h 39 lines 1.04 KB
Raw
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2
3 /*
4 * This header file is meant to be used as input to the `bindgen` application
5 * in order to generate C FFI compatible Rust bindings.
6 */
7
8 /*
9 * We block include/qemu/typedefs.h from bindgen, add here symbols
10 * that are needed as opaque types by other functions.
11 */
12 typedef struct QEMUBH QEMUBH;
13 typedef struct QEMUFile QEMUFile;
14 typedef struct QemuOpts QemuOpts;
15 typedef struct JSONWriter JSONWriter;
16 typedef struct Visitor Visitor;
17
18 #include "qemu/osdep.h"
19
20 #include "qapi/error.h"
21 #include "qapi/error-internal.h"
22 #include "qemu/event_notifier.h"
23 #include "qemu/main-loop.h"
24 #include "qemu/aio.h"
25 #include "qemu/log-for-trace.h"
26 #include "qemu/log.h"
27 #include "qemu/module.h"
28 #include "qemu/option.h"
29 #include "qemu/timer.h"
30 #include "qapi/visitor.h"
31 #include "qobject/qbool.h"
32 #include "qobject/qdict.h"
33 #include "qobject/qjson.h"
34 #include "qobject/qlist.h"
35 #include "qobject/qnull.h"
36 #include "qobject/qnum.h"
37 #include "qobject/qobject.h"
38 #include "qobject/qstring.h"
39 #include "qobject/json-writer.h"