compiler: never omit assertions if using a static analysis tool
[qemu.git] / include / qapi / qmp-output-visitor.h
blob040fdda1420073282397e1381f0217c0f7bf70d3
1 /*
2 * Output Visitor
4 * Copyright IBM, Corp. 2011
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
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.
14 #ifndef QMP_OUTPUT_VISITOR_H
15 #define QMP_OUTPUT_VISITOR_H
17 #include "qapi/visitor.h"
18 #include "qapi/qmp/qobject.h"
20 typedef struct QmpOutputVisitor QmpOutputVisitor;
23 * Create a new QMP output visitor.
25 * If everything else succeeds, pass @result to visit_complete() to
26 * collect the result of the visit.
28 Visitor *qmp_output_visitor_new(QObject **result);
30 #endif