xref: /openbmc/qemu/include/monitor/qmp-helpers.h (revision f0984d40)
1 /*
2  * QMP command helpers
3  *
4  * Copyright (c) 2022 Red Hat Inc.
5  *
6  * Authors:
7  *  Markus Armbruster <armbru@redhat.com>
8  *
9  * This work is licensed under the terms of the GNU GPL, version 2.  See
10  * the COPYING file in the top-level directory.
11  */
12 
13 #ifndef MONITOR_QMP_HELPERS_H
14 
15 bool qmp_add_client_spice(int fd, bool has_skipauth, bool skipauth,
16                         bool has_tls, bool tls, Error **errp);
17 #ifdef CONFIG_VNC
18 bool qmp_add_client_vnc(int fd, bool has_skipauth, bool skipauth,
19                         bool has_tls, bool tls, Error **errp);
20 #endif
21 #ifdef CONFIG_DBUS_DISPLAY
22 bool qmp_add_client_dbus_display(int fd, bool has_skipauth, bool skipauth,
23                         bool has_tls, bool tls, Error **errp);
24 #endif
25 bool qmp_add_client_char(int fd, bool has_skipauth, bool skipauth,
26                          bool has_tls, bool tls, const char *protocol,
27                          Error **errp);
28 
29 #endif
30