tcg/arm: Factor out code to emit immediate or reg-reg op
[qemu/pbrook.git] / qapi / qmp-input-visitor.h
blobe0a48a5f3b1cd8d174b5b191cea3e0da980f0e04
1 /*
2 * Input 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_INPUT_VISITOR_H
15 #define QMP_INPUT_VISITOR_H
17 #include "qapi-visit-core.h"
18 #include "qobject.h"
20 typedef struct QmpInputVisitor QmpInputVisitor;
22 QmpInputVisitor *qmp_input_visitor_new(QObject *obj);
23 QmpInputVisitor *qmp_input_visitor_new_strict(QObject *obj);
25 void qmp_input_visitor_cleanup(QmpInputVisitor *v);
27 Visitor *qmp_input_get_visitor(QmpInputVisitor *v);
29 #endif