diff options
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 { |