2015-08-21 07:04:50 +00:00
|
|
|
/*
|
|
|
|
* Input Visitor
|
|
|
|
*
|
|
|
|
* Copyright IBM, Corp. 2011
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Anthony Liguori <aliguori@us.ibm.com>
|
|
|
|
*
|
|
|
|
* This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
|
|
|
|
* See the COPYING.LIB file in the top-level directory.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QMP_INPUT_VISITOR_H
|
|
|
|
#define QMP_INPUT_VISITOR_H
|
|
|
|
|
|
|
|
#include "qapi/visitor.h"
|
|
|
|
#include "qapi/qmp/qobject.h"
|
|
|
|
|
2018-02-26 20:53:02 +00:00
|
|
|
typedef struct QObjectInputVisitor QObjectInputVisitor;
|
2015-08-21 07:04:50 +00:00
|
|
|
|
2018-02-23 20:09:51 +00:00
|
|
|
/*
|
|
|
|
* Return a new input visitor that converts QMP to QAPI.
|
|
|
|
*/
|
2018-03-02 17:14:50 +00:00
|
|
|
Visitor *qobject_input_visitor_new(QObject *obj);
|
2015-08-21 07:04:50 +00:00
|
|
|
|
|
|
|
#endif
|