summaryrefslogtreecommitdiffstats
path: root/rfb/rfbproto.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/rfbproto.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/rfbproto.h')
-rw-r--r--rfb/rfbproto.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/rfb/rfbproto.h b/rfb/rfbproto.h
index 4baae6d..4d6a1e6 100644
--- a/rfb/rfbproto.h
+++ b/rfb/rfbproto.h
@@ -126,6 +126,14 @@ typedef uint32_t in_addr_t;
#define MAX_ENCODINGS 21
+#define rfbNetworkConnectionSuccess 0
+#define rfbNetworkRFBConnectionSuccess 1
+#define rfbNetworkConnectionClosed 2
+#define rfbNetworkConnectionFailed 3
+#define rfbNetworkNameResolutionFailed 4
+#define rfbNetworkRFBServerNotValid 5
+#define rfbNetworkRFBProtocolFailure 6
+
/*****************************************************************************
*
* Structures used in several messages