s390x/css: clear IO irqs when generating IPI CRW
[qemu.git] / include / qapi / qmp-input-visitor.h
blobb0624d8683a6862a9b682bca0834fbcf28ca69f5
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/visitor.h"
18 #include "qapi/qmp/qobject.h"
20 typedef struct QmpInputVisitor QmpInputVisitor;
23 * Return a new input visitor that converts QMP to QAPI.
25 * Set @strict to reject a parse that doesn't consume all keys of a
26 * dictionary; otherwise excess input is ignored.
28 QmpInputVisitor *qmp_input_visitor_new(QObject *obj, bool strict);
30 void qmp_input_visitor_cleanup(QmpInputVisitor *v);
32 Visitor *qmp_input_get_visitor(QmpInputVisitor *v);
34 #endif