libusb.h | libusb.h | |||
---|---|---|---|---|
skipping to change at line 642 | skipping to change at line 642 | |||
#define LIBUSB_CONTROL_SETUP_SIZE (sizeof(struct libusb_control_setup)) | #define LIBUSB_CONTROL_SETUP_SIZE (sizeof(struct libusb_control_setup)) | |||
/* libusbx */ | /* libusbx */ | |||
struct libusb_context; | struct libusb_context; | |||
struct libusb_device; | struct libusb_device; | |||
struct libusb_device_handle; | struct libusb_device_handle; | |||
/** \ingroup lib | /** \ingroup lib | |||
* Structure providing the version of libusbx currently in use | * Structure providing the version of the libusbx runtime | |||
*/ | */ | |||
struct libusb_version { | struct libusb_version { | |||
uint16_t major; | /** Library major version. */ | |||
uint16_t minor; | const uint16_t major; | |||
uint16_t micro; | ||||
uint16_t nano; | /** Library minor version. */ | |||
const uint16_t minor; | ||||
/** Library micro version. */ | ||||
const uint16_t micro; | ||||
/** Library nano version. */ | ||||
const uint16_t nano; | ||||
/** Library release candidate suffix string, e.g. "-rc4". */ | ||||
const char *rc; | ||||
/** For ABI compatibility only. */ | ||||
const char* describe; | ||||
}; | }; | |||
/** \ingroup lib | /** \ingroup lib | |||
* Structure representing a libusbx session. The concept of individual libu sbx | * Structure representing a libusbx session. The concept of individual libu sbx | |||
* sessions allows for your program to use two libraries (or dynamically | * sessions allows for your program to use two libraries (or dynamically | |||
* load two modules) which both independently use libusb. This will prevent | * load two modules) which both independently use libusb. This will prevent | |||
* interference between the individual libusbx users - for example | * interference between the individual libusbx users - for example | |||
* libusb_set_debug() will not affect the other user of the library, and | * libusb_set_debug() will not affect the other user of the library, and | |||
* libusb_exit() will not destroy resources that the other user is still | * libusb_exit() will not destroy resources that the other user is still | |||
* using. | * using. | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 18 lines changed or added | |||