summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfb.h7
-rwxr-xr-xrfb/rfbregion.h2
2 files changed, 9 insertions, 0 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index a76d955..a55f34a 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -232,7 +232,12 @@ typedef struct _rfbScreenInfo
PasswordCheckProcPtr passwordCheck;
void* rfbAuthPasswdData;
+ /* If rfbAuthPasswdData is given a list, this is the first
+ view only password. */
+ int rfbAuthPasswdFirstViewOnly;
+ /* send only this many rectangles in one update */
+ int maxRectsPerUpdate;
/* this is the amount of milliseconds to wait at least before sending
* an update. */
int rfbDeferUpdateTime;
@@ -329,6 +334,8 @@ typedef struct _rfbClientRec {
int preferredEncoding;
int correMaxWidth, correMaxHeight;
+ Bool viewOnly;
+
/* The following member is only used during VNC authentication */
uint8_t authChallenge[CHALLENGESIZE];
diff --git a/rfb/rfbregion.h b/rfb/rfbregion.h
index 1bbedf6..95f73e2 100755
--- a/rfb/rfbregion.h
+++ b/rfb/rfbregion.h
@@ -37,6 +37,8 @@ extern Bool sraRgnPopRect(sraRegion *region, sraRect *rect,
extern unsigned long sraRgnCountRects(const sraRegion *rgn);
extern Bool sraRgnEmpty(const sraRegion *rgn);
+extern sraRegion *sraRgnBBox(const sraRegion *src);
+
/* -=- rectangle iterator */
typedef struct sraRectangleIterator {