diff options
Diffstat (limited to 'libusb/libusbi.h')
-rw-r--r-- | libusb/libusbi.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/libusb/libusbi.h b/libusb/libusbi.h index caceb65..8ade9c7 100644 --- a/libusb/libusbi.h +++ b/libusb/libusbi.h @@ -271,6 +271,8 @@ struct libusb_device { struct libusb_context *ctx; uint8_t bus_number; + uint8_t port_number; + struct libusb_device* parent_dev; uint8_t device_address; uint8_t num_configurations; @@ -761,14 +763,6 @@ struct usbi_os_backend { int (*attach_kernel_driver)(struct libusb_device_handle *handle, int interface_number); - /* Return device topology. Optional. - * - * This function is called to populate a libusb_device_topology structure, - * that allows to uniquely identify the location of a device on the system. - */ - int (*get_device_topology)(struct libusb_device *dev, - struct libusb_device_topology* topology); - /* Destroy a device. Optional. * * This function is called when the last reference to a device is |