diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2015-02-19 10:46:49 +0100 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2015-03-12 08:22:07 +0100 |
| commit | bf7aa45e7b378691ea0e8616a2aeae2aaabb7bc3 (patch) | |
| tree | d3995a08758c23f9fcac3e2c3fd41006caf05cfe /ui/vnc.h | |
| parent | 9159eb9abc31e02797dc55998e71f12c06846d55 (diff) | |
| download | focaccia-qemu-bf7aa45e7b378691ea0e8616a2aeae2aaabb7bc3.tar.gz focaccia-qemu-bf7aa45e7b378691ea0e8616a2aeae2aaabb7bc3.zip | |
vnc: drop display+ws_display from VncDisplay
Nobody cares about those strings, they are only used to check whenever the vnc server / websocket support is enabled or not. Add bools for this and drop the strings. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Diffstat (limited to 'ui/vnc.h')
| -rw-r--r-- | ui/vnc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/vnc.h b/ui/vnc.h index 5e2b1a561e..66a02986c7 100644 --- a/ui/vnc.h +++ b/ui/vnc.h @@ -158,8 +158,7 @@ struct VncDisplay int lsock; #ifdef CONFIG_VNC_WS int lwebsock; - bool websocket; - char *ws_display; + bool ws_enabled; #endif DisplaySurface *ds; DisplayChangeListener dcl; @@ -176,7 +175,8 @@ struct VncDisplay const char *id; QTAILQ_ENTRY(VncDisplay) next; - char *display; + bool enabled; + bool is_unix; char *password; time_t expires; int auth; |