2 * Policy for handling "funny" management interfaces
4 * Copyright (C) 2020 Red Hat, Inc.
7 * Markus Armbruster <armbru@redhat.com>
9 * This work is licensed under the terms of the GNU GPL, version 2 or
10 * later. See the COPYING file in the top-level directory.
13 #ifndef QAPI_COMPAT_POLICY_H
14 #define QAPI_COMPAT_POLICY_H
16 #include "qapi/qapi-types-compat.h"
18 extern CompatPolicy compat_policy
;
21 * Create a QObject input visitor for @obj for use with QMP
23 * This is like qobject_input_visitor_new(), except it obeys the
24 * policy for handling deprecated management interfaces set with
27 Visitor
*qobject_input_visitor_new_qmp(QObject
*obj
);
30 * Create a QObject output visitor for @obj for use with QMP
32 * This is like qobject_output_visitor_new(), except it obeys the
33 * policy for handling deprecated management interfaces set with
36 Visitor
*qobject_output_visitor_new_qmp(QObject
**result
);