[PATCH shared-cd v1 1/9] move spice_usb_backend_device_{eject|report_change} to usb_backend.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]