Changes in uspace/lib/drv/include/usbhid_iface.h [d4da860:5b0cf63] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/usbhid_iface.h
rd4da860 r5b0cf63 39 39 #include "ddf/driver.h" 40 40 41 extern int usbhid_dev_get_event_length(async_sess_t *, size_t *);42 extern int usbhid_dev_get_event(async_sess_t *, uint8_t *, size_t, size_t *,41 extern errno_t usbhid_dev_get_event_length(async_sess_t *, size_t *); 42 extern errno_t usbhid_dev_get_event(async_sess_t *, uint8_t *, size_t, size_t *, 43 43 int *, unsigned int); 44 extern int usbhid_dev_get_report_descriptor_length(async_sess_t *, size_t *);45 extern int usbhid_dev_get_report_descriptor(async_sess_t *, uint8_t *, size_t,44 extern errno_t usbhid_dev_get_report_descriptor_length(async_sess_t *, size_t *); 45 extern errno_t usbhid_dev_get_report_descriptor(async_sess_t *, uint8_t *, size_t, 46 46 size_t *); 47 47 … … 63 63 * @return Error code. 64 64 */ 65 int (*get_event)(ddf_fun_t *fun, uint8_t *buffer, size_t size,65 errno_t (*get_event)(ddf_fun_t *fun, uint8_t *buffer, size_t size, 66 66 size_t *act_size, int *event_nr, unsigned int flags); 67 67 … … 81 81 * @return Error code. 82 82 */ 83 int (*get_report_descriptor)(ddf_fun_t *fun, uint8_t *desc,83 errno_t (*get_report_descriptor)(ddf_fun_t *fun, uint8_t *desc, 84 84 size_t size, size_t *act_size); 85 85 } usbhid_iface_t;
Note:
See TracChangeset
for help on using the changeset viewer.