From: Alexander Nezhinsky <anezhins@xxxxxxxxxx> These functions belong to usb_backend_device api Signed-off-by: Alexander Nezhinsky <anezhins@xxxxxxxxxx> --- src/usb-backend.h | 2 ++ src/usb-emulation.h | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/usb-backend.h b/src/usb-backend.h index 46713c1..4e86fdf 100644 --- a/src/usb-backend.h +++ b/src/usb-backend.h @@ -70,6 +70,8 @@ void spice_usb_backend_device_unref(SpiceUsbBackendDevice *dev); gconstpointer spice_usb_backend_device_get_libdev(const SpiceUsbBackendDevice *dev); const UsbDeviceInformation* spice_usb_backend_device_get_info(const SpiceUsbBackendDevice *dev); gboolean spice_usb_backend_device_isoch(SpiceUsbBackendDevice *dev); +void spice_usb_backend_device_eject(SpiceUsbBackend *be, SpiceUsbBackendDevice *device); +void spice_usb_backend_device_report_change(SpiceUsbBackend *be, SpiceUsbBackendDevice *device); /* returns 0 if the device passes the filter otherwise returns the error value from * usbredirhost_check_device_filter() such as -EIO or -ENOMEM */ diff --git a/src/usb-emulation.h b/src/usb-emulation.h index ac3d8e0..5d67fee 100644 --- a/src/usb-emulation.h +++ b/src/usb-emulation.h @@ -84,5 +84,4 @@ spice_usb_backend_create_emulated_device(SpiceUsbBackend *be, SpiceUsbEmulatedDeviceCreate create_proc, void *create_params, GError **err); -void spice_usb_backend_device_eject(SpiceUsbBackend *be, SpiceUsbBackendDevice *device); -void spice_usb_backend_device_report_change(SpiceUsbBackend *be, SpiceUsbBackendDevice *device); + -- 2.20.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel