mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-28 21:03:54 -06:00

Now that we have a polymorphic visit_free(), we no longer need qmp_output_visitor_cleanup(); however, we still need to expose the subtype for qmp_output_get_qobject(). Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1465490926-28625-10-git-send-email-eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
27 lines
591 B
C
27 lines
591 B
C
/*
|
|
* Output 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_OUTPUT_VISITOR_H
|
|
#define QMP_OUTPUT_VISITOR_H
|
|
|
|
#include "qapi/visitor.h"
|
|
#include "qapi/qmp/qobject.h"
|
|
|
|
typedef struct QmpOutputVisitor QmpOutputVisitor;
|
|
|
|
QmpOutputVisitor *qmp_output_visitor_new(void);
|
|
|
|
QObject *qmp_output_get_qobject(QmpOutputVisitor *v);
|
|
Visitor *qmp_output_get_visitor(QmpOutputVisitor *v);
|
|
|
|
#endif
|