milkymist: convert to memory API
[qemu/qmp-unstable.git] / qapi / qmp-output-visitor.h
blob4a649c2504a4d32ec50f9506c7adce995e93da7c
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-visit-core.h"
18 #include "qobject.h"
20 typedef struct QmpOutputVisitor QmpOutputVisitor;
22 QmpOutputVisitor *qmp_output_visitor_new(void);
23 void qmp_output_visitor_cleanup(QmpOutputVisitor *v);
25 QObject *qmp_output_get_qobject(QmpOutputVisitor *v);
26 Visitor *qmp_output_get_visitor(QmpOutputVisitor *v);
28 #endif