diff options
author | dscho <dscho> | 2003-07-28 00:57:52 +0000 |
---|---|---|
committer | dscho <dscho> | 2003-07-28 00:57:52 +0000 |
commit | 9f0a1a3bc16d26420c703c6e6cc0f18bd4f6b81e (patch) | |
tree | 0aa185de6ff17df411ce24001954435a524a970e /rfb | |
parent | b9ebdab1f255316ccb9160daa0976d57adfe2675 (diff) | |
download | libtdevnc-9f0a1a3bc16d26420c703c6e6cc0f18bd4f6b81e.tar.gz libtdevnc-9f0a1a3bc16d26420c703c6e6cc0f18bd4f6b81e.zip |
synced with TightVNC and RealVNC
Diffstat (limited to 'rfb')
-rw-r--r-- | rfb/rfb.h | 7 | ||||
-rwxr-xr-x | rfb/rfbregion.h | 2 |
2 files changed, 9 insertions, 0 deletions
@@ -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 { |