Rename spice_usb_backend_create_device. Make clear is allocating an emulated device. --- src/usb-backend.c | 8 ++++---- src/usb-emulation.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/usb-backend.c b/src/usb-backend.c index aa843465..a6c7b199 100644 --- a/src/usb-backend.c +++ b/src/usb-backend.c @@ -906,10 +906,10 @@ void spice_usb_backend_device_eject(SpiceUsbBackend *be, SpiceUsbBackendDevice * } SpiceUsbBackendDevice* -spice_usb_backend_create_device(SpiceUsbBackend *be, - SpiceUsbEmulatedDeviceCreate create_proc, - void *create_params, - GError **err) +spice_usb_backend_create_emulated_device(SpiceUsbBackend *be, + SpiceUsbEmulatedDeviceCreate create_proc, + void *create_params, + GError **err) { SpiceUsbEmulatedDevice *edev; SpiceUsbBackendDevice *dev; diff --git a/src/usb-emulation.h b/src/usb-emulation.h index 6ff57b80..9e626a24 100644 --- a/src/usb-emulation.h +++ b/src/usb-emulation.h @@ -81,10 +81,10 @@ static inline const UsbDeviceOps *device_ops(SpiceUsbEmulatedDevice *dev) } SpiceUsbBackendDevice* -spice_usb_backend_create_device(SpiceUsbBackend *be, - SpiceUsbEmulatedDeviceCreate create_proc, - void *create_params, - GError **err); +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