qapi/error: Check format string argument in error_*prepend()
[qemu/armbru.git] / include / qapi / qmp / qnull.h
blobc1426882c57333bd80664c60dfd09978debe286e
1 /*
2 * QNull
4 * Copyright (C) 2015 Red Hat, Inc.
6 * Authors:
7 * Markus Armbruster <armbru@redhat.com>
9 * This work is licensed under the terms of the GNU LGPL, version 2.1
10 * or later. See the COPYING.LIB file in the top-level directory.
13 #ifndef QNULL_H
14 #define QNULL_H
16 #include "qapi/qmp/qobject.h"
18 struct QNull {
19 struct QObjectBase_ base;
22 extern QNull qnull_;
24 static inline QNull *qnull(void)
26 return qobject_ref(&qnull_);
29 bool qnull_is_equal(const QObject *x, const QObject *y);
31 #endif /* QNULL_H */