summaryrefslogtreecommitdiffstats
path: root/libvncserver/rfbserver.c
diff options
context:
space:
mode:
authordscho <dscho>2005-01-03 22:34:48 +0000
committerdscho <dscho>2005-01-03 22:34:48 +0000
commite78a41c69c0b8d32c0742c11610f1918c98f35e4 (patch)
treeca315d0c4fc0b13bba70bad8922a4d71e34e3ad3 /libvncserver/rfbserver.c
parent4b89306d17a56210cf7d8c4da93ff585b166b3fb (diff)
downloadlibtdevnc-e78a41c69c0b8d32c0742c11610f1918c98f35e4.tar.gz
libtdevnc-e78a41c69c0b8d32c0742c11610f1918c98f35e4.zip
add hook to allow for custom client messages
Diffstat (limited to 'libvncserver/rfbserver.c')
-rw-r--r--libvncserver/rfbserver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libvncserver/rfbserver.c b/libvncserver/rfbserver.c
index 33e277d..0e6a4ce 100644
--- a/libvncserver/rfbserver.c
+++ b/libvncserver/rfbserver.c
@@ -1039,6 +1039,9 @@ rfbProcessClientNormalMessage(cl)
default:
+ if(cl->screen->processCustomClientMessage(cl,msg.type))
+ return;
+
rfbLog("rfbProcessClientNormalMessage: unknown message type %d\n",
msg.type);
rfbLog(" ... closing connection\n");