]> Git Repo - qemu.git/blob - include/qapi/qobject-input-visitor.h
qapi: rename QmpInputVisitor to QObjectInputVisitor
[qemu.git] / include / qapi / qobject-input-visitor.h
1 /*
2  * Input Visitor
3  *
4  * Copyright IBM, Corp. 2011
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 QOBJECT_INPUT_VISITOR_H
15 #define QOBJECT_INPUT_VISITOR_H
16
17 #include "qapi/visitor.h"
18 #include "qapi/qmp/qobject.h"
19
20 typedef struct QObjectInputVisitor QObjectInputVisitor;
21
22 /*
23  * Return a new input visitor that converts a QObject to a QAPI object.
24  *
25  * Set @strict to reject a parse that doesn't consume all keys of a
26  * dictionary; otherwise excess input is ignored.
27  */
28 Visitor *qobject_input_visitor_new(QObject *obj, bool strict);
29
30 #endif
This page took 0.026141 seconds and 4 git commands to generate.