Lines Matching defs:dev_handle
984 struct libusb_device_handle *dev_handle)
987 list_del(&dev_handle->list);
990 usbi_backend->close(dev_handle);
991 libusb_unref_device(dev_handle->dev);
992 free(dev_handle);
1004 * \param dev_handle the handle to close
1006 API_EXPORTED void libusb_close(libusb_device_handle *dev_handle)
1012 if (!dev_handle)
1016 ctx = HANDLE_CTX(dev_handle);
1033 do_close(ctx, dev_handle);
1049 do_close(ctx, dev_handle);
1064 * \param dev_handle a device handle
1067 API_EXPORTED libusb_device *libusb_get_device(libusb_device_handle *dev_handle)
1069 return dev_handle->dev;