One more thing about the API. It might be good to change:

uint32_t API_EXPORTED libusb_transfer_get_stream_id (struct libusb_transfer 
*transfer);

to:

int API_EXPORTED libusb_transfer_get_stream_id (struct libusb_transfer 
*transfer, uint32_t *stream_id);

This would allow the return of LIBUSB_ERROR_INVALID_PARAM if the transfer is 
not a bulk stream transfer.

Anyway, the type change is pushed to my tree.

-Nathan
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to