Statistics
| Branch: | Revision:

root / include / qapi / qmp-input-visitor.h @ 5a37532d

History | View | Annotate | Download (650 Bytes)

1 c40cc0a0 Michael Roth
/*
2 c40cc0a0 Michael Roth
 * Input Visitor
3 c40cc0a0 Michael Roth
 *
4 c40cc0a0 Michael Roth
 * Copyright IBM, Corp. 2011
5 c40cc0a0 Michael Roth
 *
6 c40cc0a0 Michael Roth
 * Authors:
7 c40cc0a0 Michael Roth
 *  Anthony Liguori   <aliguori@us.ibm.com>
8 c40cc0a0 Michael Roth
 *
9 c40cc0a0 Michael Roth
 * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
10 c40cc0a0 Michael Roth
 * See the COPYING.LIB file in the top-level directory.
11 c40cc0a0 Michael Roth
 *
12 c40cc0a0 Michael Roth
 */
13 c40cc0a0 Michael Roth
14 c40cc0a0 Michael Roth
#ifndef QMP_INPUT_VISITOR_H
15 c40cc0a0 Michael Roth
#define QMP_INPUT_VISITOR_H
16 c40cc0a0 Michael Roth
17 7b1b5d19 Paolo Bonzini
#include "qapi/visitor.h"
18 7b1b5d19 Paolo Bonzini
#include "qapi/qmp/qobject.h"
19 c40cc0a0 Michael Roth
20 c40cc0a0 Michael Roth
typedef struct QmpInputVisitor QmpInputVisitor;
21 c40cc0a0 Michael Roth
22 c40cc0a0 Michael Roth
QmpInputVisitor *qmp_input_visitor_new(QObject *obj);
23 e38ac962 Paolo Bonzini
QmpInputVisitor *qmp_input_visitor_new_strict(QObject *obj);
24 e38ac962 Paolo Bonzini
25 c40cc0a0 Michael Roth
void qmp_input_visitor_cleanup(QmpInputVisitor *v);
26 c40cc0a0 Michael Roth
27 c40cc0a0 Michael Roth
Visitor *qmp_input_get_visitor(QmpInputVisitor *v);
28 c40cc0a0 Michael Roth
29 c40cc0a0 Michael Roth
#endif