39 typedef unsigned __int8
uint8_t;
int libusb_handle_events_timeout(libusb_context *ctx, struct timeval *timeout)
uint8_t bNumConfigurations
int libusb_handle_events(libusb_context *ctx)
void libusb_set_iso_packet_lengths(struct libusb_transfer *transfer, unsigned int length)
int libusb_get_device_descriptor(libusb_device *dev, struct libusb_device_descriptor *desc)
int libusb_set_configuration(libusb_device_handle *dev, int configuration)
int libusb_init(libusb_context **context)
int libusb_get_string_descriptor(libusb_device_handle *dev_handle, uint8_t desc_index, uint16_t langid, unsigned char *data, int length)
void(* libusb_transfer_cb_fn)(struct libusb_transfer *transfer)
void libusb_free_device_list(libusb_device **list, int unref_devices)
libusb_transfer_cb_fn callback
int libusb_open(libusb_device *dev, libusb_device_handle **handle)
unsigned int actual_length
struct libusb_transfer * libusb_alloc_transfer(int iso_packets)
void libusb_close(libusb_device_handle *dev_handle)
int libusb_release_interface(libusb_device_handle *dev, int interface_number)
int libusb_control_transfer(libusb_device_handle *dev_handle, uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, unsigned char *data, uint16_t wLength, unsigned int timeout)
void libusb_set_debug(libusb_context *ctx, int level)
void libusb_free_transfer(struct libusb_transfer *transfer)
struct libusb_iso_packet_descriptor * iso_packet_desc
libusb_device_handle * dev_handle
ssize_t libusb_get_device_list(libusb_context *ctx, libusb_device ***list)
void libusb_fill_iso_transfer(struct libusb_transfer *transfer, libusb_device_handle *dev_handle, unsigned char endpoint, unsigned char *buffer, int length, int num_iso_packets, libusb_transfer_cb_fn callback, void *user_data, unsigned int timeout)
libusb_device_handle * libusb_open_device_with_vid_pid(libusb_context *ctx, uint16_t vendor_id, uint16_t product_id)
typedef void(ONI_CALLBACK_TYPE *DeviceConnectedCallback)(const OniDeviceInfo *
int libusb_get_string_descriptor_ascii(libusb_device_handle *dev_handle, uint8_t desc_index, unsigned char *data, int length)
static freenect_context * ctx
int libusb_submit_transfer(struct libusb_transfer *transfer)
int libusb_claim_interface(libusb_device_handle *dev, int interface_number)
int libusb_cancel_transfer(struct libusb_transfer *transfer)
libusb_endpoint_direction
int libusb_bulk_transfer(libusb_device_handle *dev_handle, unsigned char endpoint, unsigned char *data, int length, int *actual_length, unsigned int timeout)
int libusb_set_interface_alt_setting(libusb_device_handle *dev, int interface_number, int alternate_setting)
void libusb_exit(libusb_context *ctx)