Changeset b7fd2a0 in mainline for uspace/lib/usbdev/include/usb/dev/poll.h
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/include/usb/dev/poll.h
r36f0738 rb7fd2a0 87 87 * @return Whether to continue in polling. 88 88 */ 89 bool (*on_error)(usb_device_t *dev, int err_code, void *arg);89 bool (*on_error)(usb_device_t *dev, errno_t err_code, void *arg); 90 90 /** Argument to pass to callbacks. */ 91 91 void *arg; … … 95 95 typedef void (*usb_polling_terminted_callback_t)(usb_device_t *, bool, void *); 96 96 97 extern int usb_device_auto_polling(usb_device_t *, usb_endpoint_t,97 extern errno_t usb_device_auto_polling(usb_device_t *, usb_endpoint_t, 98 98 const usb_device_auto_polling_t *, size_t); 99 99 100 extern int usb_device_auto_poll(usb_device_t *, usb_endpoint_t,100 extern errno_t usb_device_auto_poll(usb_device_t *, usb_endpoint_t, 101 101 usb_polling_callback_t, size_t, int, usb_polling_terminted_callback_t, void *); 102 102 103 extern int usb_device_auto_polling_desc(usb_device_t *,103 extern errno_t usb_device_auto_polling_desc(usb_device_t *, 104 104 const usb_endpoint_description_t *, const usb_device_auto_polling_t *, 105 105 size_t); 106 106 107 extern int usb_device_auto_poll_desc(usb_device_t *,107 extern errno_t usb_device_auto_poll_desc(usb_device_t *, 108 108 const usb_endpoint_description_t *, usb_polling_callback_t, size_t, int, 109 109 usb_polling_terminted_callback_t, void *);
Note:
See TracChangeset
for help on using the changeset viewer.