aboutsummaryrefslogtreecommitdiff
path: root/include/ui/qemu-spice-module.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-10-19 09:52:16 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-10-21 15:46:14 +0200
commit08ad262643bb925e7f0437630f81b6d1f3acd936 (patch)
tree2673b8e9ce148a2087b2a4e68904affda6477fee /include/ui/qemu-spice-module.h
parent05b53636d01c1c9b650465def20b683ea1382f63 (diff)
downloadqemu-08ad262643bb925e7f0437630f81b6d1f3acd936.zip
qemu-08ad262643bb925e7f0437630f81b6d1f3acd936.tar.gz
qemu-08ad262643bb925e7f0437630f81b6d1f3acd936.tar.bz2
spice: move auth functions to QemuSpiceOps.
Move qemu_spice_set_passwd() and qemu_spice_set_pw_expire() functions to QemuSpiceOps. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-id: 20201019075224.14803-7-kraxel@redhat.com
Diffstat (limited to 'include/ui/qemu-spice-module.h')
-rw-r--r--include/ui/qemu-spice-module.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ui/qemu-spice-module.h b/include/ui/qemu-spice-module.h
index f93acde..1ea3a99 100644
--- a/include/ui/qemu-spice-module.h
+++ b/include/ui/qemu-spice-module.h
@@ -26,6 +26,9 @@ struct QemuSpiceOps {
void (*init)(void);
void (*display_init)(void);
int (*migrate_info)(const char *h, int p, int t, const char *s);
+ int (*set_passwd)(const char *passwd,
+ bool fail_if_connected, bool disconnect_if_connected);
+ int (*set_pw_expire)(time_t expires);
#ifdef CONFIG_SPICE
int (*add_interface)(SpiceBaseInstance *sin);
#endif