diff options
author | Tobias Junghans <tobydox@veyon.io> | 2018-11-06 14:22:56 +0100 |
---|---|---|
committer | Tobias Junghans <tobydox@veyon.io> | 2018-11-11 21:57:21 +0100 |
commit | 5f9a07d7e1613dbccd5a27e845dbb8a7f2a27b2e (patch) | |
tree | 216ab484ee32faada4f307c79748c90b7f73c6c5 /rfb | |
parent | 56d69d831f304c8b99b523e2b7826e00f913fd5c (diff) | |
download | libtdevnc-5f9a07d7e1613dbccd5a27e845dbb8a7f2a27b2e.tar.gz libtdevnc-5f9a07d7e1613dbccd5a27e845dbb8a7f2a27b2e.zip |
LibVNCClient: add support for custom auth handlers
This allows to register custom authentication handlers in order to
support additional security types.
Diffstat (limited to 'rfb')
-rw-r--r-- | rfb/rfbclient.h | 3 |
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); |