summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authordscho <dscho>2003-07-28 00:57:52 +0000
committerdscho <dscho>2003-07-28 00:57:52 +0000
commit9f0a1a3bc16d26420c703c6e6cc0f18bd4f6b81e (patch)
tree0aa185de6ff17df411ce24001954435a524a970e /rfb
parentb9ebdab1f255316ccb9160daa0976d57adfe2675 (diff)
downloadlibtdevnc-9f0a1a3bc16d26420c703c6e6cc0f18bd4f6b81e.tar.gz
libtdevnc-9f0a1a3bc16d26420c703c6e6cc0f18bd4f6b81e.zip
synced with TightVNC and RealVNC
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 {