qed: fix use-after-free during l2 cache commit
[qemu.git] / qapi / qmp-input-visitor.h
blob3f798f03354469e843a7a812d79f9b08ee2b517f
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 void qmp_input_visitor_cleanup(QmpInputVisitor *v);
25 Visitor *qmp_input_get_visitor(QmpInputVisitor *v);
27 #endif