From 2779672fa3f0680e63ecfd3ee2d6ff360ce948a2 Mon Sep 17 00:00:00 2001 From: Gonglei Date: Thu, 5 Feb 2015 17:43:34 +0800 Subject: vnc: introduce an wrapper for auto assign vnc id Signed-off-by: Gonglei Signed-off-by: Gerd Hoffmann --- include/ui/console.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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); -- cgit v1.1