forked from LudovicRousseau/libusbx
-
Notifications
You must be signed in to change notification settings - Fork 1
API 2.0
LudovicRousseau edited this page Mar 1, 2013
·
5 revisions
This page documents the proposed changes between the libusbx 1.0 and 2.0 API
- MaxPower -> bMaxPower
- Make transfer status error codes negative
- Use size_t instead of int in transfer functions (should we also review the use of int/unsigned int elsewhere?)
- Add a uint32_t stream_id to struct libusb_transfer for USB-3 bulk
- Use usb_interface instead of interface in libusb_config_descriptor
The current diff between 1.0 and proposed 2.0 can be obtained here.