2011-07-20 03:50:33 +08: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.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2016-09-30 22:45:27 +08:00
|
|
|
#ifndef QOBJECT_INPUT_VISITOR_H
|
|
|
|
#define QOBJECT_INPUT_VISITOR_H
|
2011-07-20 03:50:33 +08:00
|
|
|
|
2012-12-18 01:19:43 +08:00
|
|
|
#include "qapi/visitor.h"
|
|
|
|
#include "qapi/qmp/qobject.h"
|
2011-07-20 03:50:33 +08:00
|
|
|
|
2016-09-30 22:45:27 +08:00
|
|
|
typedef struct QObjectInputVisitor QObjectInputVisitor;
|
2011-07-20 03:50:33 +08:00
|
|
|
|
2016-04-29 05:45:13 +08:00
|
|
|
/*
|
2016-09-30 22:45:27 +08:00
|
|
|
* Return a new input visitor that converts a QObject to a QAPI object.
|
2016-04-29 05:45:13 +08:00
|
|
|
*/
|
2017-03-03 20:32:39 +08:00
|
|
|
Visitor *qobject_input_visitor_new(QObject *obj);
|
2011-07-20 03:50:33 +08:00
|
|
|
|
|
|
|
#endif
|