summaryrefslogtreecommitdiffstats
path: root/libvncserver/stats.c
diff options
context:
space:
mode:
authorChristian Beier <[email protected]>2010-11-02 22:23:12 +0100
committerChristian Beier <[email protected]>2010-11-02 22:23:12 +0100
commite5523350a8fb5d6ccae4b4d9bc92897f3e5db18c (patch)
treea784f30fb06c79ec942613f7a3833a23f97e808c /libvncserver/stats.c
parent5da7c7a71ac1db69902c3a2a80f8771713dde70f (diff)
downloadlibtdevnc-e5523350a8fb5d6ccae4b4d9bc92897f3e5db18c.tar.gz
libtdevnc-e5523350a8fb5d6ccae4b4d9bc92897f3e5db18c.zip
libvnc[server|client]: implement xvp VNC extension.
This implements the xvp VNC extension, which is described in the community version of the RFB protocol: http://tigervnc.sourceforge.net/cgi-bin/rfbproto It is also mentioned in the official RFB protocol.
Diffstat (limited to 'libvncserver/stats.c')
-rwxr-xr-xlibvncserver/stats.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvncserver/stats.c b/libvncserver/stats.c
index d5d6925..1e6c9b1 100755
--- a/libvncserver/stats.c
+++ b/libvncserver/stats.c
@@ -55,6 +55,7 @@ char *messageNameServer2Client(uint32_t type, char *buf, int len) {
case rfbFileTransfer: snprintf(buf, len, "FileTransfer"); break;
case rfbTextChat: snprintf(buf, len, "TextChat"); break;
case rfbPalmVNCReSizeFrameBuffer: snprintf(buf, len, "PalmVNCReSize"); break;
+ case rfbXvp: snprintf(buf, len, "XvpServerMessage"); break;
default:
snprintf(buf, len, "svr2cli-0x%08X", 0xFF);
}
@@ -78,6 +79,7 @@ char *messageNameClient2Server(uint32_t type, char *buf, int len) {
case rfbTextChat: snprintf(buf, len, "TextChat"); break;
case rfbKeyFrameRequest: snprintf(buf, len, "KeyFrameRequest"); break;
case rfbPalmVNCSetScaleFactor: snprintf(buf, len, "PalmVNCSetScale"); break;
+ case rfbXvp: snprintf(buf, len, "XvpClientMessage"); break;
default:
snprintf(buf, len, "cli2svr-0x%08X", type);