Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/include/usbhid_iface.h

    rd4da860 r5b0cf63  
    3939#include "ddf/driver.h"
    4040
    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 *,
     41extern errno_t usbhid_dev_get_event_length(async_sess_t *, size_t *);
     42extern errno_t usbhid_dev_get_event(async_sess_t *, uint8_t *, size_t, size_t *,
    4343    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,
     44extern errno_t usbhid_dev_get_report_descriptor_length(async_sess_t *, size_t *);
     45extern errno_t usbhid_dev_get_report_descriptor(async_sess_t *, uint8_t *, size_t,
    4646    size_t *);
    4747
     
    6363         * @return Error code.
    6464         */
    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,
    6666            size_t *act_size, int *event_nr, unsigned int flags);
    6767       
     
    8181         * @return Error code.
    8282         */
    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,
    8484            size_t size, size_t *act_size);
    8585} usbhid_iface_t;
Note: See TracChangeset for help on using the changeset viewer.