]>
Commit | Line | Data |
---|---|---|
e4e6aa14 MR |
1 | /* |
2 | * Output Visitor | |
3 | * | |
4 | * Copyright IBM, Corp. 2011 | |
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 | ||
b3db211f DB |
14 | #ifndef QOBJECT_OUTPUT_VISITOR_H |
15 | #define QOBJECT_OUTPUT_VISITOR_H | |
e4e6aa14 | 16 | |
7b1b5d19 PB |
17 | #include "qapi/visitor.h" |
18 | #include "qapi/qmp/qobject.h" | |
e4e6aa14 | 19 | |
7d5e199a | 20 | typedef struct QObjectOutputVisitor QObjectOutputVisitor; |
e4e6aa14 | 21 | |
3b098d56 | 22 | /* |
b3db211f | 23 | * Create a new QObject output visitor. |
3b098d56 EB |
24 | * |
25 | * If everything else succeeds, pass @result to visit_complete() to | |
26 | * collect the result of the visit. | |
27 | */ | |
7d5e199a | 28 | Visitor *qobject_output_visitor_new(QObject **result); |
e4e6aa14 MR |
29 | |
30 | #endif |