[Spice-devel] [spice-gtk v1 0/2] Add usb backend module
Yuri Benditovich
yuri.benditovich at daynix.com
Mon Sep 24 08:43:53 UTC 2018
This series of patches includes usb backend implementation
which concentrates all the communication with libusb and
usbredirhost and provides more abstract API to usb redirection
modules (usb device manager and usb redirection channel).
It is prerequisite of extending usb redirection functionality
(as cd sharing via emulation of cd drive)
Yuri Benditovich (2):
usb-redirection: introduce usb backend layer
usb-redirection: use usb backend for usb redirection
src/Makefile.am | 2 +
src/channel-usbredir-priv.h | 9 +-
src/channel-usbredir.c | 271 +++++---------
src/meson.build | 1 +
src/usb-backend-common.c | 809 ++++++++++++++++++++++++++++++++++++++++++
src/usb-backend.h | 97 +++++
src/usb-device-manager-priv.h | 5 +-
src/usb-device-manager.c | 407 ++++++++-------------
src/usb-device-manager.h | 29 +-
src/usbutil.c | 36 --
src/usbutil.h | 2 -
src/win-usb-dev.c | 59 ++-
12 files changed, 1207 insertions(+), 520 deletions(-)
create mode 100644 src/usb-backend-common.c
create mode 100644 src/usb-backend.h
--
2.9.4
More information about the Spice-devel
mailing list