summaryrefslogtreecommitdiffstats
path: root/libxrdp/xrdp_caps.c
diff options
context:
space:
mode:
authorspeidy <speidy@gmail.com>2014-03-15 16:10:20 +0200
committerspeidy <speidy@gmail.com>2014-03-15 16:10:20 +0200
commit53df4335eb3c02d07ffe1dc5a714263c49040a80 (patch)
tree86e317ac5ebf6c707f51b1c8d39ac6e3e69efbd4 /libxrdp/xrdp_caps.c
parentf66c5911a2ae57368e571643750c0b79aec5498f (diff)
downloadxrdp-proprietary-53df4335eb3c02d07ffe1dc5a714263c49040a80.tar.gz
xrdp-proprietary-53df4335eb3c02d07ffe1dc5a714263c49040a80.zip
o added fastpath output, syncronize update pdu
o refactor caps a bit
Diffstat (limited to 'libxrdp/xrdp_caps.c')
-rw-r--r--libxrdp/xrdp_caps.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libxrdp/xrdp_caps.c b/libxrdp/xrdp_caps.c
index d82023c8..918bf4a0 100644
--- a/libxrdp/xrdp_caps.c
+++ b/libxrdp/xrdp_caps.c
@@ -266,8 +266,8 @@ xrdp_caps_process_cache_v3_codec_id(struct xrdp_rdp *self, struct stream *s,
/*****************************************************************************/
/* get the number of client cursor cache */
static int APP_CC
-xrdp_caps_process_pointercache(struct xrdp_rdp *self, struct stream *s,
- int len)
+xrdp_caps_process_pointer(struct xrdp_rdp *self, struct stream *s,
+ int len)
{
int i;
int colorPointerFlag;
@@ -275,7 +275,7 @@ xrdp_caps_process_pointercache(struct xrdp_rdp *self, struct stream *s,
if (len < 2 + 2 + 2)
{
- g_writeln("xrdp_caps_process_pointercache: error");
+ g_writeln("xrdp_caps_process_pointer: error");
return 1;
}
no_new_cursor = self->client_info.pointer_flags & 2;
@@ -286,7 +286,7 @@ xrdp_caps_process_pointercache(struct xrdp_rdp *self, struct stream *s,
self->client_info.pointer_cache_entries = i;
if (colorPointerFlag & 1)
{
- g_writeln("xrdp_caps_process_pointercache: client supports "
+ g_writeln("xrdp_caps_process_pointer: client supports "
"new(color) cursor");
in_uint16_le(s, i);
i = MIN(i, 32);
@@ -294,12 +294,12 @@ xrdp_caps_process_pointercache(struct xrdp_rdp *self, struct stream *s,
}
else
{
- g_writeln("xrdp_caps_process_pointercache: client does not support "
+ g_writeln("xrdp_caps_process_pointer: client does not support "
"new(color) cursor");
}
if (no_new_cursor)
{
- g_writeln("xrdp_caps_process_pointercache: new(color) cursor is "
+ g_writeln("xrdp_caps_process_pointer: new(color) cursor is "
"disabled by config");
self->client_info.pointer_flags = 0;
}
@@ -567,7 +567,7 @@ xrdp_caps_process_confirm_active(struct xrdp_rdp *self, struct stream *s)
break;
case RDP_CAPSET_POINTER: /* 8 */
DEBUG(("RDP_CAPSET_POINTER"));
- xrdp_caps_process_pointercache(self, s, len);
+ xrdp_caps_process_pointer(self, s, len);
break;
case RDP_CAPSET_SHARE: /* 9 */
DEBUG(("RDP_CAPSET_SHARE"));