[Spice-devel] [PATCH shared-cd v1 1/9] move spice_usb_backend_device_{eject|report_change} to usb_backend.h
alexander at daynix.com
alexander at daynix.com
Sun Dec 8 14:03:11 UTC 2019
From: Alexander Nezhinsky <anezhins at redhat.com>
These functions belong to usb_backend_device api
Signed-off-by: Alexander Nezhinsky <anezhins at redhat.com>
---
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
More information about the Spice-devel
mailing list