structs

Converted/butchered LIBUSB header to a D-Language interface

Members

Aliases

libusb_transfer_cb_fn
alias libusb_transfer_cb_fn = void function(libusb_transfer* transfer)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

libusb_bos_descriptor
struct libusb_bos_descriptor

A structure representing the Binary Device Object Store (BOS) descriptor. This descriptor is documented in section 9.6.2 of the USB 3.0 specification. All multiple-byte fields are represented in host-endian format.

libusb_bos_dev_capability_descriptor
struct libusb_bos_dev_capability_descriptor

A generic representation of a BOS Device Capability descriptor. It is advised to check bDevCapabilityType and call the matching libusb_get_*_descriptor function to get a structure fully matching the type.

libusb_config_descriptor
struct libusb_config_descriptor

A structure representing the standard USB configuration descriptor. This descriptor is documented in section 9.6.3 of the USB 3.0 specification. All multiple-byte fields are represented in host-endian format.

libusb_container_id_descriptor
struct libusb_container_id_descriptor

A structure representing the Container ID descriptor. This descriptor is documented in section 9.6.2.3 of the USB 3.0 specification. All multiple-byte fields, except UUIDs, are represented in host-endian format.

libusb_context
struct libusb_context
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
libusb_control_setup
struct libusb_control_setup

* Setup packet for control transfers.

libusb_device
struct libusb_device
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
libusb_device_descriptor
struct libusb_device_descriptor

A structure representing the standard USB device descriptor. This descriptor is documented in section 9.6.1 of the USB 3.0 specification. All multiple-byte fields are represented in host-endian format.

libusb_device_handle
struct libusb_device_handle
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
libusb_endpoint_descriptor
struct libusb_endpoint_descriptor

A structure representing the standard USB endpoint descriptor. This descriptor is documented in section 9.6.6 of the USB 3.0 specification. All multiple-byte fields are represented in host-endian format.

libusb_hotplug_callback
struct libusb_hotplug_callback
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
libusb_interface
struct libusb_interface

A collection of alternate settings for a particular USB interface.

libusb_interface_descriptor
struct libusb_interface_descriptor

A structure representing the standard USB interface descriptor. This descriptor is documented in section 9.6.5 of the USB 3.0 specification. All multiple-byte fields are represented in host-endian format.

libusb_iso_packet_descriptor
struct libusb_iso_packet_descriptor

* Isochronous packet descriptor.

libusb_pollfd
struct libusb_pollfd

File descriptor for polling

libusb_ss_endpoint_companion_descriptor
struct libusb_ss_endpoint_companion_descriptor

A structure representing the superspeed endpoint companion descriptor. This descriptor is documented in section 9.6.7 of the USB 3.0 specification. All multiple-byte fields are represented in host-endian format.

libusb_ss_usb_device_capability_descriptor
struct libusb_ss_usb_device_capability_descriptor

A structure representing the SuperSpeed USB Device Capability descriptor This descriptor is documented in section 9.6.2.2 of the USB 3.0 specification. All multiple-byte fields are represented in host-endian format.

libusb_transfer
struct libusb_transfer

The generic USB transfer structure. The user populates this structure and then submits it in order to request a transfer. After the transfer has completed, the library populates the transfer with the results and passes it back to the user.

libusb_usb_2_0_extension_descriptor
struct libusb_usb_2_0_extension_descriptor

A structure representing the USB 2.0 Extension descriptor This descriptor is documented in section 9.6.2.1 of the USB 3.0 specification. All multiple-byte fields are represented in host-endian format.

libusb_version
struct libusb_version

Structure providing the version of the libusbx runtime

See Also

http://www.libusb.org

Notes: Libusb itself is Copyright

  • 2001 Johannes Erdfelt <johannes@erdfelt.com>
  • 2007-2008 Daniel Drake <dsd@gentoo.org>
  • 2012 Pete Batard <pete@akeo.ie>
  • 2012 Nathan Hjelm <hjelmn@cs.unm.edu>

Meta

Authors

Ross Lonstein <lonstein@brightboxcharge.com>