diff options
author | Victor Toso <victortoso@redhat.com> | 2021-08-25 19:34:00 +0200 |
---|---|---|
committer | Victor Toso <victortoso@redhat.com> | 2021-11-04 11:16:47 +0100 |
commit | 7b0d9d26042054b7a29076804d8d33d75a179cf5 (patch) | |
tree | 941adf7f5aa7769c636611857b3041f6e061393c /usbredirtestclient | |
parent | f298f497584d7535cf4c5ddc30d036c0a3f62502 (diff) |
usbredirparser: introduce usbredirparser_get_bufferered_output_size()
The application does not have a way to know how much data is being
queued by usbredirparser due data output being slower than input. This
function is a simple way to get that value.
Also, this function can be used in usbredirhost to allow dropping
isoc packets before calling usbredirparser's functions.
Related: https://gitlab.freedesktop.org/spice/usbredir/-/issues/19
Signed-off-by: Victor Toso <victortoso@redhat.com>
Diffstat (limited to 'usbredirtestclient')
0 files changed, 0 insertions, 0 deletions