libusb-1.0 Reference Manual
libusb-1.0
Description:
A cross-platform user-mode library, for generic access to USB devices
Content:
Namespaces:
LibUSB
Classes:
BosDescriptor
ConfigDescriptor
ContainerIdDescriptor
Context
ControlSetup
Device
DeviceHandle
PollFD
SSEndpointCompanionDescriptor
SSUsbDeviceCapabilityDescriptor
Transfer
USB_2_0_ExtensionDescriptor
Structs:
BosDevCapabilityDescriptor
DeviceDescriptor
EndpointDescriptor
HotCallbackHandle
Interface
InterfaceDescriptor
IsoPacketDescriptor
Enums:
BosType
Capability
ClassCode
DescriptorType
EndpointDirection
Error
HotPlugEvent
HotPlugFlags
IsoSyncType
IsoUsageType
LogLevel
RequestRecipient
RequestType
SSUsbDeviceCapabilityAttributes
Speed
StandardRequest
SupportedSpeed
TransferFlags
TransferStatus
TransferType
USB_2_0_ExtensionAttributes
Delegates:
public
delegate
void
HotPlugCb
(
Context
ctx,
Device
device,
HotPlugEvent
event)
public
delegate
void
TransferCb
(
Transfer
transfer)
public
delegate
void
pollfd_added_cb
(
int
fd,
short
events,
void
* user_data)
public
delegate
void
pollfd_removed_cb
(
int
fd,
void
* user_data)
Methods:
public
uint16
cpu_to_le16
(
uint16
n)
public
int
has_capability
(
Capability
capability)
public
uint16
le16_to_cpu
(
uint16
n)
DescriptorTypeSize
Constants:
public
const
int
BOS_MAX_SIZE
public
const
int
BOS_SIZE
public
const
int
CONFIG_SIZE
public
const
int
CONTAINER_ID_SIZE
public
const
int
DEVICE_CAPABILITY_SIZE
public
const
int
DEVICE_SIZE
public
const
int
ENDPOINT_AUDIO_SIZE
public
const
int
ENDPOINT_SIZE
public
const
int
HUB_NONVAR_SIZE
public
const
int
INTERFACE_SIZE
public
const
int
SS_ENDPOINT_COMPANION_SIZE
public
const
int
SS_USB_DEVICE_CAPABILITY_SIZE
public
const
int
USB_2_0_EXTENSION_SIZE
EndpointMask
Constants:
public
const
int
ADDRESS
public
const
int
DIR
public
const
int
DIRECTION
2022 vala-language.org