|
void | usb_descriptor_iter_init (struct usb_device *device, struct usb_descriptor_iter *iter) |
|
struct usb_descriptor_header * | usb_descriptor_iter_next (struct usb_descriptor_iter *iter) |
|
int | usb_device_bulk_transfer (struct usb_device *device, int endpoint, void *buffer, unsigned int length, unsigned int timeout) |
|
int | usb_device_claim_interface (struct usb_device *device, unsigned int interface) |
|
void | usb_device_close (struct usb_device *device) |
|
int | usb_device_connect_kernel_driver (struct usb_device *device, unsigned int interface, int connect) |
|
int | usb_device_control_transfer (struct usb_device *device, int requestType, int request, int value, int index, void *buffer, int length, unsigned int timeout) |
|
size_t | usb_device_get_descriptors_length (const struct usb_device *device) |
|
const struct usb_device_descriptor * | usb_device_get_device_descriptor (struct usb_device *device) |
|
int | usb_device_get_fd (struct usb_device *device) |
|
char * | usb_device_get_manufacturer_name (struct usb_device *device, int timeout) |
|
const char * | usb_device_get_name (struct usb_device *device) |
|
char * | usb_device_get_name_from_unique_id (int id) |
|
uint16_t | usb_device_get_product_id (struct usb_device *device) |
|
char * | usb_device_get_product_name (struct usb_device *device, int timeout) |
|
const unsigned char * | usb_device_get_raw_descriptors (const struct usb_device *device) |
|
char * | usb_device_get_serial (struct usb_device *device, int timeout) |
|
char * | usb_device_get_string (struct usb_device *device, int id, int timeout) |
|
int | usb_device_get_string_ucs2 (struct usb_device *device, int id, int timeout, void **ucs2_out, size_t *response_size) |
|
int | usb_device_get_unique_id (struct usb_device *device) |
|
int | usb_device_get_unique_id_from_name (const char *name) |
|
uint16_t | usb_device_get_vendor_id (struct usb_device *device) |
|
int | usb_device_get_version (struct usb_device *device) |
|
int | usb_device_is_writeable (struct usb_device *device) |
|
struct usb_device * | usb_device_new (const char *dev_name, int fd) |
|
struct usb_device * | usb_device_open (const char *dev_name) |
|
int | usb_device_release_interface (struct usb_device *device, unsigned int interface) |
|
int | usb_device_reset (struct usb_device *device) |
|
int | usb_device_set_configuration (struct usb_device *device, int configuration) |
|
int | usb_device_set_interface (struct usb_device *device, unsigned int interface, unsigned int alt_setting) |
|
void | usb_host_cleanup (struct usb_host_context *context) |
|
int | usb_host_get_fd (struct usb_host_context *context) |
|
struct usb_host_context * | usb_host_init (void) |
|
int | usb_host_load (struct usb_host_context *context, usb_device_added_cb added_cb, usb_device_removed_cb removed_cb, usb_discovery_done_cb discovery_done_cb, void *client_data) |
|
int | usb_host_read_event (struct usb_host_context *context) |
|
void | usb_host_run (struct usb_host_context *context, usb_device_added_cb added_cb, usb_device_removed_cb removed_cb, usb_discovery_done_cb discovery_done_cb, void *client_data) |
|
int | usb_request_cancel (struct usb_request *req) |
|
void | usb_request_free (struct usb_request *req) |
|
struct usb_request * | usb_request_new (struct usb_device *dev, const struct usb_endpoint_descriptor *ep_desc) |
|
int | usb_request_queue (struct usb_request *req) |
|
struct usb_request * | usb_request_wait (struct usb_device *dev, int timeoutMillis) |
|