Changes in uspace/lib/usbdev/include/usb/dev/poll.h [160b75e:a0487a2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/include/usb/dev/poll.h
r160b75e ra0487a2 39 39 #include <time.h> 40 40 41 /** Parameters and callbacks for automated polling. */ 41 42 typedef struct { 42 43 /** Level of debugging messages from auto polling. … … 82 83 */ 83 84 bool (*on_error)(usb_device_t *dev, int err_code, void *arg); 85 /** Argument to pass to callbacks. */ 86 void *arg; 84 87 } usb_device_auto_polling_t; 85 88 86 int usb_device_auto_polling(usb_device_t *, size_t, usb_device_auto_polling_t *,87 size_t, void *);89 int usb_device_auto_polling(usb_device_t *, size_t, 90 const usb_device_auto_polling_t *, size_t); 88 91 89 92 typedef bool (*usb_polling_callback_t)(usb_device_t *,
Note:
See TracChangeset
for help on using the changeset viewer.