aboutsummaryrefslogtreecommitdiff
path: root/vnc.h
diff options
context:
space:
mode:
authorCorentin Chary <corentincj@iksaif.net>2010-07-07 20:57:51 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-07-26 17:23:53 -0500
commit6f9c78c1499bd2fb3c31bf87d9b7c1b10c188dfb (patch)
treed08a73581753bfaaedc66f3ab3253d7955ee33de /vnc.h
parent2f24e2ed1160b252225bfa6169d552ef955eaaef (diff)
vnc: add lossy option
The lossy option can be used to enable lossy compression methods like gradient or jpeg. This patch disable them by default. Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vnc.h')
-rw-r--r--vnc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vnc.h b/vnc.h
index 2a9024d1cc..ec90cd389c 100644
--- a/vnc.h
+++ b/vnc.h
@@ -33,6 +33,7 @@
#include "monitor.h"
#include "audio/audio.h"
#include <zlib.h>
+#include <stdbool.h>
#include "keymaps.h"
@@ -111,6 +112,7 @@ struct VncDisplay
char *display;
char *password;
int auth;
+ bool lossy;
#ifdef CONFIG_VNC_TLS
int subauth; /* Used by VeNCrypt */
VncDisplayTLS tls;