diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-01-12 23:48:26 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-01-12 23:48:26 -0600 |
commit | 1d8b3c0548782dcd7286fed6b31c17351c15bb50 (patch) | |
tree | cf4d504b2ea8c7441ee6cd86d21b26f6a5efd132 /rfb/rfbclient.h | |
parent | 0ca63a7ab62867cafdede1179aa4809f26ccdb64 (diff) | |
download | libtdevnc-1d8b3c0548782dcd7286fed6b31c17351c15bb50.tar.gz libtdevnc-1d8b3c0548782dcd7286fed6b31c17351c15bb50.zip |
Add hooks to client library to ontain network and authentication status
Diffstat (limited to 'rfb/rfbclient.h')
-rw-r--r-- | rfb/rfbclient.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h index aedb4f4..f3700ae 100644 --- a/rfb/rfbclient.h +++ b/rfb/rfbclient.h @@ -169,6 +169,8 @@ typedef void (*SoftCursorUnlockScreenProc)(struct _rfbClient* client); typedef void (*GotFrameBufferUpdateProc)(struct _rfbClient* client, int x, int y, int w, int h); typedef void (*FinishedFrameBufferUpdateProc)(struct _rfbClient* client); typedef char* (*GetPasswordProc)(struct _rfbClient* client); +typedef void (*AuthenticationResultsProc)(struct _rfbClient* client, uint32_t authResult); +typedef void (*NetworkStatusProc)(struct _rfbClient* client, uint32_t errorCode); typedef rfbCredential* (*GetCredentialProc)(struct _rfbClient* client, int credentialType); typedef rfbBool (*MallocFrameBufferProc)(struct _rfbClient* client); typedef void (*GotXCutTextProc)(struct _rfbClient* client, const char *text, int textlen); @@ -292,6 +294,8 @@ typedef struct _rfbClient { GotFrameBufferUpdateProc GotFrameBufferUpdate; /** the pointer returned by GetPassword will be freed after use! */ GetPasswordProc GetPassword; + AuthenticationResultsProc AuthenticationResults; + NetworkStatusProc NetworkStatus; MallocFrameBufferProc MallocFrameBuffer; GotXCutTextProc GotXCutText; BellProc Bell; |