libusb.h | libusb.h | |||
---|---|---|---|---|
skipping to change at line 790 | skipping to change at line 790 | |||
int libusb_get_active_config_descriptor(libusb_device *dev, | int libusb_get_active_config_descriptor(libusb_device *dev, | |||
struct libusb_config_descriptor **config); | struct libusb_config_descriptor **config); | |||
int libusb_get_config_descriptor(libusb_device *dev, uint8_t config_index, | int libusb_get_config_descriptor(libusb_device *dev, uint8_t config_index, | |||
struct libusb_config_descriptor **config); | struct libusb_config_descriptor **config); | |||
int libusb_get_config_descriptor_by_value(libusb_device *dev, | int libusb_get_config_descriptor_by_value(libusb_device *dev, | |||
uint8_t bConfigurationValue, struct libusb_config_descriptor **confi g); | uint8_t bConfigurationValue, struct libusb_config_descriptor **confi g); | |||
void libusb_free_config_descriptor(struct libusb_config_descriptor *config) ; | void libusb_free_config_descriptor(struct libusb_config_descriptor *config) ; | |||
uint8_t libusb_get_bus_number(libusb_device *dev); | uint8_t libusb_get_bus_number(libusb_device *dev); | |||
uint8_t libusb_get_device_address(libusb_device *dev); | uint8_t libusb_get_device_address(libusb_device *dev); | |||
int libusb_get_max_packet_size(libusb_device *dev, unsigned char endpoint); | int libusb_get_max_packet_size(libusb_device *dev, unsigned char endpoint); | |||
int libusb_get_max_iso_packet_size(libusb_device *dev, unsigned char endpoi nt); | ||||
int libusb_open(libusb_device *dev, libusb_device_handle **handle); | int libusb_open(libusb_device *dev, libusb_device_handle **handle); | |||
void libusb_close(libusb_device_handle *dev_handle); | void libusb_close(libusb_device_handle *dev_handle); | |||
libusb_device *libusb_get_device(libusb_device_handle *dev_handle); | libusb_device *libusb_get_device(libusb_device_handle *dev_handle); | |||
int libusb_set_configuration(libusb_device_handle *dev, int configuration); | int libusb_set_configuration(libusb_device_handle *dev, int configuration); | |||
int libusb_claim_interface(libusb_device_handle *dev, int iface); | int libusb_claim_interface(libusb_device_handle *dev, int iface); | |||
int libusb_release_interface(libusb_device_handle *dev, int iface); | int libusb_release_interface(libusb_device_handle *dev, int iface); | |||
libusb_device_handle *libusb_open_device_with_vid_pid(libusb_context *ctx, | libusb_device_handle *libusb_open_device_with_vid_pid(libusb_context *ctx, | |||
skipping to change at line 1184 | skipping to change at line 1185 | |||
void libusb_unlock_events(libusb_context *ctx); | void libusb_unlock_events(libusb_context *ctx); | |||
int libusb_event_handling_ok(libusb_context *ctx); | int libusb_event_handling_ok(libusb_context *ctx); | |||
int libusb_event_handler_active(libusb_context *ctx); | int libusb_event_handler_active(libusb_context *ctx); | |||
void libusb_lock_event_waiters(libusb_context *ctx); | void libusb_lock_event_waiters(libusb_context *ctx); | |||
void libusb_unlock_event_waiters(libusb_context *ctx); | void libusb_unlock_event_waiters(libusb_context *ctx); | |||
int libusb_wait_for_event(libusb_context *ctx, struct timeval *tv); | int libusb_wait_for_event(libusb_context *ctx, struct timeval *tv); | |||
int libusb_handle_events_timeout(libusb_context *ctx, struct timeval *tv); | int libusb_handle_events_timeout(libusb_context *ctx, struct timeval *tv); | |||
int libusb_handle_events(libusb_context *ctx); | int libusb_handle_events(libusb_context *ctx); | |||
int libusb_handle_events_locked(libusb_context *ctx, struct timeval *tv); | int libusb_handle_events_locked(libusb_context *ctx, struct timeval *tv); | |||
int libusb_pollfds_handle_timeouts(libusb_context *ctx); | ||||
int libusb_get_next_timeout(libusb_context *ctx, struct timeval *tv); | int libusb_get_next_timeout(libusb_context *ctx, struct timeval *tv); | |||
/** \ingroup poll | /** \ingroup poll | |||
* File descriptor for polling | * File descriptor for polling | |||
*/ | */ | |||
struct libusb_pollfd { | struct libusb_pollfd { | |||
/** Numeric file descriptor */ | /** Numeric file descriptor */ | |||
int fd; | int fd; | |||
/** Event flags to poll for from <poll.h>. POLLIN indicates that you | /** Event flags to poll for from <poll.h>. POLLIN indicates that you | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added | |||