summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorZihao Chang2021-03-16 08:58:44 +0100
committerGerd Hoffmann2021-03-23 08:48:21 +0100
commit1f08e3415120637cad7f540d9ceb4dba3136dbdd (patch)
tree618455273446f9fc60ba940f7679f92bef9f1bf8 /include
parentcrypto: add reload for QCryptoTLSCredsClass (diff)
downloadqemu-1f08e3415120637cad7f540d9ceb4dba3136dbdd.tar.gz
qemu-1f08e3415120637cad7f540d9ceb4dba3136dbdd.tar.xz
qemu-1f08e3415120637cad7f540d9ceb4dba3136dbdd.zip
vnc: support reload x509 certificates for vnc
This patch add vnc_display_reload_certs() to support update x509 certificates. Signed-off-by: Zihao Chang <changzihao1@huawei.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20210316075845.1476-3-changzihao1@huawei.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/ui/console.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/console.h b/include/ui/console.h
index c960b7066c..2714038a0f 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -476,6 +476,7 @@ int vnc_display_password(const char *id, const char *password);
int vnc_display_pw_expire(const char *id, time_t expires);
void vnc_parse(const char *str);
int vnc_init_func(void *opaque, QemuOpts *opts, Error **errp);
+bool vnc_display_reload_certs(const char *id, Error **errp);
/* input.c */
int index_from_key(const char *key, size_t key_length);