libusb-1.0
Public Attributes | List of all members
usbi_os_backend Struct Reference

Public Attributes

const char * name
 
uint32_t caps
 
int(* init )(struct libusb_context *ctx)
 
void(* exit )(struct libusb_context *ctx)
 
int(* set_option )(struct libusb_context *ctx, enum libusb_option option, va_list args)
 
int(* get_device_list )(struct libusb_context *ctx, struct discovered_devs **discdevs)
 
void(* hotplug_poll )(void)
 
int(* wrap_sys_device )(struct libusb_context *ctx, struct libusb_device_handle *dev_handle, intptr_t sys_dev)
 
int(* open )(struct libusb_device_handle *dev_handle)
 
void(* close )(struct libusb_device_handle *dev_handle)
 
int(* get_active_config_descriptor )(struct libusb_device *device, void *buffer, size_t len)
 
int(* get_config_descriptor )(struct libusb_device *device, uint8_t config_index, void *buffer, size_t len)
 
int(* get_config_descriptor_by_value )(struct libusb_device *device, uint8_t bConfigurationValue, void **buffer)
 
int(* get_configuration )(struct libusb_device_handle *dev_handle, uint8_t *config)
 
int(* set_configuration )(struct libusb_device_handle *dev_handle, int config)
 
int(* claim_interface )(struct libusb_device_handle *dev_handle, uint8_t interface_number)
 
int(* release_interface )(struct libusb_device_handle *dev_handle, uint8_t interface_number)
 
int(* set_interface_altsetting )(struct libusb_device_handle *dev_handle, uint8_t interface_number, uint8_t altsetting)
 
int(* clear_halt )(struct libusb_device_handle *dev_handle, unsigned char endpoint)
 
int(* reset_device )(struct libusb_device_handle *dev_handle)
 
int(* alloc_streams )(struct libusb_device_handle *dev_handle, uint32_t num_streams, unsigned char *endpoints, int num_endpoints)
 
int(* free_streams )(struct libusb_device_handle *dev_handle, unsigned char *endpoints, int num_endpoints)
 
void *(* dev_mem_alloc )(struct libusb_device_handle *handle, size_t len)
 
int(* dev_mem_free )(struct libusb_device_handle *handle, void *buffer, size_t len)
 
int(* kernel_driver_active )(struct libusb_device_handle *dev_handle, uint8_t interface_number)
 
int(* detach_kernel_driver )(struct libusb_device_handle *dev_handle, uint8_t interface_number)
 
int(* attach_kernel_driver )(struct libusb_device_handle *dev_handle, uint8_t interface_number)
 
void(* destroy_device )(struct libusb_device *dev)
 
int(* submit_transfer )(struct usbi_transfer *itransfer)
 
int(* cancel_transfer )(struct usbi_transfer *itransfer)
 
void(* clear_transfer_priv )(struct usbi_transfer *itransfer)
 
int(* handle_events )(struct libusb_context *ctx, void *event_data, unsigned int count, unsigned int num_ready)
 
int(* handle_transfer_completion )(struct usbi_transfer *itransfer)
 
size_t context_priv_size
 
size_t device_priv_size
 
size_t device_handle_priv_size
 
size_t transfer_priv_size
 

The documentation for this struct was generated from the following file: