summaryrefslogtreecommitdiffstats
path: root/rfb/rfbclient.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-01-12 23:48:26 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-01-12 23:48:26 -0600
commit1d8b3c0548782dcd7286fed6b31c17351c15bb50 (patch)
treecf4d504b2ea8c7441ee6cd86d21b26f6a5efd132 /rfb/rfbclient.h
parent0ca63a7ab62867cafdede1179aa4809f26ccdb64 (diff)
downloadlibtdevnc-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.h4
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;