diff options
| author | Jay Sorg <jay.sorg@gmail.com> | 2015-03-28 18:34:25 -0700 |
|---|---|---|
| committer | Jay Sorg <jay.sorg@gmail.com> | 2015-03-28 18:34:25 -0700 |
| commit | 33167a7c746de49e735e76c5662d1e6c36bd10ed (patch) | |
| tree | 936ed6150bf276d850a1f350823fb85bee296768 /libxrdp/xrdp_fastpath.c | |
| parent | 7f8ec757de53dbe2f4a19b5bf0a3edccbf31a0ef (diff) | |
| download | xrdp-proprietary-33167a7c746de49e735e76c5662d1e6c36bd10ed.tar.gz xrdp-proprietary-33167a7c746de49e735e76c5662d1e6c36bd10ed.zip | |
add frame acks and h264 codec mode basics
Diffstat (limited to 'libxrdp/xrdp_fastpath.c')
| -rw-r--r-- | libxrdp/xrdp_fastpath.c | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/libxrdp/xrdp_fastpath.c b/libxrdp/xrdp_fastpath.c index 6a4eb78e..5bf63b29 100644 --- a/libxrdp/xrdp_fastpath.c +++ b/libxrdp/xrdp_fastpath.c @@ -113,18 +113,6 @@ xrdp_fastpath_init(struct xrdp_fastpath *self, struct stream *s) } /*****************************************************************************/ -/* no fragmenation */ -int APP_CC -xrdp_fastpath_send(struct xrdp_fastpath *self, struct stream *s) -{ - if (trans_force_write_s(self->trans, s) != 0) - { - return 1; - } - return 0; -} - -/*****************************************************************************/ static int APP_CC xrdp_fastpath_session_callback(struct xrdp_fastpath *self, int msg, long param1, long param2, @@ -145,6 +133,19 @@ xrdp_fastpath_session_callback(struct xrdp_fastpath *self, int msg, } /*****************************************************************************/ +/* no fragmenation */ +int APP_CC +xrdp_fastpath_send(struct xrdp_fastpath *self, struct stream *s) +{ + if (trans_force_write_s(self->trans, s) != 0) + { + return 1; + } + xrdp_fastpath_session_callback(self, 0x5556, 0, 0, 0, 0); + return 0; +} + +/*****************************************************************************/ /* FASTPATH_INPUT_EVENT_SCANCODE */ static int APP_CC xrdp_fastpath_process_EVENT_SCANCODE(struct xrdp_fastpath *self, |
