diff options
author | runge <runge@karlrunge.com> | 2010-02-22 22:35:16 -0500 |
---|---|---|
committer | runge <runge@karlrunge.com> | 2010-02-22 22:35:16 -0500 |
commit | 018aac069a88243279e4172c44fb76eb881818d2 (patch) | |
tree | 78a5e4ca840ca6b17d73799dd9b0f2272f839cec /rfb/rfbclient.h | |
parent | 521b9d98a4b772689061b24bcfd57dcce976aacc (diff) | |
parent | 6b2b3b8213bbe95182c91df419e0562e85f36bc0 (diff) | |
download | libtdevnc-018aac069a88243279e4172c44fb76eb881818d2.tar.gz libtdevnc-018aac069a88243279e4172c44fb76eb881818d2.zip |
Merge branch 'master' of ssh://runge@libvncserver.git.sourceforge.net/gitroot/libvncserver/libvncserver
Diffstat (limited to 'rfb/rfbclient.h')
-rw-r--r-- | rfb/rfbclient.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h index a82ea22..bc4ec14 100644 --- a/rfb/rfbclient.h +++ b/rfb/rfbclient.h @@ -309,6 +309,10 @@ typedef struct _rfbClient { /* The 0-terminated security types supported by the client. * Set by function SetClientAuthSchemes() */ uint32_t *clientAuthSchemes; + + /* When the server is a repeater, this specifies the final destination */ + char *destHost; + int destPort; } rfbClient; /* cursor.c */ @@ -326,6 +330,7 @@ extern rfbBool rfbEnableClientLogging; typedef void (*rfbClientLogProc)(const char *format, ...); extern rfbClientLogProc rfbClientLog,rfbClientErr; extern rfbBool ConnectToRFBServer(rfbClient* client,const char *hostname, int port); +extern rfbBool ConnectToRFBRepeater(rfbClient* client,const char *repeaterHost, int repeaterPort, const char *destHost, int destPort); extern void SetClientAuthSchemes(rfbClient* client,const uint32_t *authSchemes, int size); extern rfbBool InitialiseRFBConnection(rfbClient* client); extern rfbBool SetFormatAndEncodings(rfbClient* client); |