summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorllyzs <llyzs@163.com>2009-05-20 14:58:00 +0200
committerJohannes Schindelin <johannes.schindelin@gmx.de>2009-05-20 14:59:34 +0200
commit2cd48332e02d9c81f67b2d718ad1feed5b0a808e (patch)
treeb364f9266b50acd50beb5302701425606f1f7459
parent511032eaf1a3f79f2642411a4775391c5141ff9b (diff)
downloadlibvncserver-2cd48332e02d9c81f67b2d718ad1feed5b0a808e.zip
libvncserver-2cd48332e02d9c81f67b2d718ad1feed5b0a808e.tar.gz
Export the functions SupportsClient2Server and SupportsServer2Client
These are useful functions for VNC clients, so let's export them for everybody to use. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-rw-r--r--rfb/rfbclient.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h
index be6f322..07da7df 100644
--- a/rfb/rfbclient.h
+++ b/rfb/rfbclient.h
@@ -285,6 +285,9 @@ extern rfbBool PermitServerInput(rfbClient* client, int enabled);
extern void PrintPixelFormat(rfbPixelFormat *format);
+extern rfbBool SupportsClient2Server(rfbClient* client, int messageType);
+extern rfbBool SupportsServer2Client(rfbClient* client, int messageType);
+
/* client data */
void rfbClientSetClientData(rfbClient* client, void* tag, void* data);
OpenPOWER on IntegriCloud