]> Git Repo - qemu.git/blob - include/qapi/qmp/qbool.h
hw/block/nvme: verify msix_init_exclusive_bar() return value
[qemu.git] / include / qapi / qmp / qbool.h
1 /*
2  * QBool Module
3  *
4  * Copyright IBM, Corp. 2009
5  *
6  * Authors:
7  *  Anthony Liguori   <[email protected]>
8  *
9  * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
10  * See the COPYING.LIB file in the top-level directory.
11  *
12  */
13
14 #ifndef QBOOL_H
15 #define QBOOL_H
16
17 #include "qapi/qmp/qobject.h"
18
19 struct QBool {
20     struct QObjectBase_ base;
21     bool value;
22 };
23
24 QBool *qbool_from_bool(bool value);
25 bool qbool_get_bool(const QBool *qb);
26 bool qbool_is_equal(const QObject *x, const QObject *y);
27 void qbool_destroy_obj(QObject *obj);
28
29 #endif /* QBOOL_H */
This page took 0.032224 seconds and 4 git commands to generate.