From 1d8b3c0548782dcd7286fed6b31c17351c15bb50 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 12 Jan 2015 23:48:26 -0600 Subject: Add hooks to client library to ontain network and authentication status --- rfb/rfbproto.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'rfb/rfbproto.h') 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 -- cgit v1.2.3