summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2018-11-18 20:22:15 +0100
committerGitHub <noreply@github.com>2018-11-18 20:22:15 +0100
commitcfdbb94038e76ff002e3d68dc6b1ca0df2606ef6 (patch)
tree4a965c5899ccbbdc77a9d9b473faa813339ca782 /rfb
parentaa8a1aa76880ffb8f23b98d0dbe35988b2609877 (diff)
parent5f9a07d7e1613dbccd5a27e845dbb8a7f2a27b2e (diff)
downloadlibtdevnc-cfdbb94038e76ff002e3d68dc6b1ca0df2606ef6.tar.gz
libtdevnc-cfdbb94038e76ff002e3d68dc6b1ca0df2606ef6.zip
Merge pull request #263 from veyon/custom-auth-handlers
LibVNCClient: add support for custom auth handlers
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfbclient.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h
index 87f4eaa..1a80f0d 100644
--- a/rfb/rfbclient.h
+++ b/rfb/rfbclient.h
@@ -620,6 +620,9 @@ typedef struct _rfbClientProtocolExtension {
rfbBool (*handleMessage)(rfbClient* cl,
rfbServerToClientMsg* message);
struct _rfbClientProtocolExtension* next;
+ uint32_t const* securityTypes;
+ /** returns TRUE if it handled the authentication */
+ rfbBool (*handleAuthentication)(rfbClient* cl, uint32_t authScheme);
} rfbClientProtocolExtension;
void rfbClientRegisterExtension(rfbClientProtocolExtension* e);