Michael Roth | e4e6aa1 | 2011-07-19 14:50:34 -0500 | [diff] [blame] | 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 | |
| 14 | #ifndef QMP_OUTPUT_VISITOR_H |
| 15 | #define QMP_OUTPUT_VISITOR_H |
| 16 | |
Paolo Bonzini | 7b1b5d1 | 2012-12-17 18:19:43 +0100 | [diff] [blame] | 17 | #include "qapi/visitor.h" |
| 18 | #include "qapi/qmp/qobject.h" |
Michael Roth | e4e6aa1 | 2011-07-19 14:50:34 -0500 | [diff] [blame] | 19 | |
| 20 | typedef struct QmpOutputVisitor QmpOutputVisitor; |
| 21 | |
| 22 | QmpOutputVisitor *qmp_output_visitor_new(void); |
| 23 | void qmp_output_visitor_cleanup(QmpOutputVisitor *v); |
| 24 | |
| 25 | QObject *qmp_output_get_qobject(QmpOutputVisitor *v); |
| 26 | Visitor *qmp_output_get_visitor(QmpOutputVisitor *v); |
| 27 | |
| 28 | #endif |