aboutsummaryrefslogtreecommitdiff
path: root/include/monitor/qmp-helpers.h
blob: 318c3357a225445b2aa305045d6b97ead42f0318 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * QMP command helpers
 *
 * Copyright (c) 2022 Red Hat Inc.
 *
 * Authors:
 *  Markus Armbruster <armbru@redhat.com>
 *
 * This work is licensed under the terms of the GNU GPL, version 2.  See
 * the COPYING file in the top-level directory.
 */

#ifndef MONITOR_QMP_HELPERS_H

bool qmp_add_client_spice(int fd, bool has_skipauth, bool skipauth,
                        bool has_tls, bool tls, Error **errp);
#ifdef CONFIG_VNC
bool qmp_add_client_vnc(int fd, bool has_skipauth, bool skipauth,
                        bool has_tls, bool tls, Error **errp);
#endif
#ifdef CONFIG_DBUS_DISPLAY
bool qmp_add_client_dbus_display(int fd, bool has_skipauth, bool skipauth,
                        bool has_tls, bool tls, Error **errp);
#endif
bool qmp_add_client_char(int fd, bool has_skipauth, bool skipauth,
                         bool has_tls, bool tls, const char *protocol,
                         Error **errp);

#endif