diff options
author | Constantin Kaplinsky <const@tightvnc.com> | 2006-09-08 12:55:37 +0000 |
---|---|---|
committer | Constantin Kaplinsky <const@tightvnc.com> | 2006-09-08 12:55:37 +0000 |
commit | ce0907dd799c4fae886b9f757314a844c8dc9c02 (patch) | |
tree | dfa312b2471250ea77902bb72e6a129fcd2c8808 /common/rfb/SConnection.h | |
parent | 8442b8ab565f1d6b889555629ecc47e6dcb3ec4e (diff) | |
download | tigervnc-ce0907dd799c4fae886b9f757314a844c8dc9c02.tar.gz tigervnc-ce0907dd799c4fae886b9f757314a844c8dc9c02.zip |
Implemented support for TightVNC protocol extensions in the server code. This version has one incompatibility with TightVNC 1.3.x viewers - such viewers would not be able to connect without authentication. This will be fixed in the nearest time.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@651 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/SConnection.h')
-rw-r--r-- | common/rfb/SConnection.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common/rfb/SConnection.h b/common/rfb/SConnection.h index 4c766315..e41ef5fb 100644 --- a/common/rfb/SConnection.h +++ b/common/rfb/SConnection.h @@ -155,6 +155,8 @@ namespace rfb { RFBSTATE_UNINITIALISED, RFBSTATE_PROTOCOL_VERSION, RFBSTATE_SECURITY_TYPE, + RFBSTATE_TIGHT_TUNN_TYPE, + RFBSTATE_TIGHT_AUTH_TYPE, RFBSTATE_SECURITY, RFBSTATE_QUERYING, RFBSTATE_INITIALISATION, @@ -180,6 +182,13 @@ namespace rfb { void processSecurityMsg(); void processInitMsg(); + // These functions add support for TightVNC protocol extensions. + void offerTunneling(); + void processTunnelTypeMsg(); + void offerAuthentication(); + void processAuthTypeMsg(); + void sendInteractionCaps(); + int defaultMajorVersion, defaultMinorVersion; rdr::InStream* is; rdr::OutStream* os; |