Rework device discovery API
[platform/upstream/libusb.git] / TODO
1 high priority
2 =============
3 cancellation race concerns - better tracking of kernel feedback?
4
5 for 1.0
6 =======
7 API docs
8 isochronous endpoint I/O
9 thread safety
10 abstraction for cross-platform-ness
11 fallback on /proc/bus/usb on linux
12 error codes
13 assign session ID to each libusb_device
14 share libusb_device structures in memory between all get_devices callers
15
16 for 1.1 or future
17 ==================
18 optional timerfd support (runtime detection)
19 notifications of hotplugged/unplugged devices
20 use poll() rather than select()?
21
22 1.0 API style/naming points to reconsider
23 =========================================
24
25 struct libusb_(bulk|control)_transfer or parameters?
26 devh in general
27 urbh in general (should this be a transfer handle?)
28 config struct/function naming
29 typedef _cb or _cb_fn or _cb_t?
30 typedef as-is or pointers? libusb_dev_t rather than libusb_dev *?