blob: fe66fcd4551dccb86c8603199268b0b34e8d7dbe [file] [log] [blame]
David 'Digit' Turner2910f182010-05-10 18:48:35 -07001/*
2 * QBool Module
3 *
4 * Copyright IBM, Corp. 2009
5 *
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
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 <stdint.h>
18#include "qobject.h"
19
20typedef struct QBool {
21 QObject_HEAD;
22 int value;
23} QBool;
24
25QBool *qbool_from_int(int value);
26int qbool_get_int(const QBool *qb);
27QBool *qobject_to_qbool(const QObject *obj);
28
29#endif /* QBOOL_H */