summaryrefslogtreecommitdiffstats
path: root/include/ui
diff options
context:
space:
mode:
authorGonglei <arei.gonglei@huawei.com>2015-02-05 17:43:34 +0800
committerGerd Hoffmann <kraxel@redhat.com>2015-02-16 08:47:59 +0100
commit2779672fa3f0680e63ecfd3ee2d6ff360ce948a2 (patch)
tree713bf0dacc489043e0c780bb7d22fb7372b2d8ee /include/ui
parenta2c72de09619ed4d2f4498a65027114f9c035f7f (diff)
downloadhqemu-2779672fa3f0680e63ecfd3ee2d6ff360ce948a2.zip
hqemu-2779672fa3f0680e63ecfd3ee2d6ff360ce948a2.tar.gz
vnc: introduce an wrapper for auto assign vnc id
Signed-off-by: Gonglei <arei.gonglei@huawei.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui')
-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 8a4d671..5c19c3c 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -335,6 +335,7 @@ void vnc_display_init(const char *id);
void vnc_display_open(const char *id, Error **errp);
void vnc_display_add_client(const char *id, int csock, bool skipauth);
char *vnc_display_local_addr(const char *id);
+void vnc_auto_assign_id(QemuOptsList *olist, QemuOpts *opts);
#ifdef CONFIG_VNC
int vnc_display_password(const char *id, const char *password);
int vnc_display_pw_expire(const char *id, time_t expires);
OpenPOWER on IntegriCloud