Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhid/include/usb/hid/request.h

    r9d58539 r5b0cf63  
    4242#include <usb/dev/pipes.h>
    4343
    44 /*----------------------------------------------------------------------------*/
    4544
    46 int usbhid_req_set_report(usb_pipe_t *ctrl_pipe, int iface_no,
     45
     46errno_t usbhid_req_set_report(usb_pipe_t *ctrl_pipe, int iface_no,
    4747    usb_hid_report_type_t type, uint8_t *buffer, size_t buf_size);
    4848
    49 int usbhid_req_set_protocol(usb_pipe_t *ctrl_pipe, int iface_no,
     49errno_t usbhid_req_set_protocol(usb_pipe_t *ctrl_pipe, int iface_no,
    5050    usb_hid_protocol_t protocol);
    5151
    52 int usbhid_req_set_idle(usb_pipe_t *ctrl_pipe, int iface_no, uint8_t duration);
     52errno_t usbhid_req_set_idle(usb_pipe_t *ctrl_pipe, int iface_no, uint8_t duration);
    5353
    54 int usbhid_req_get_report(usb_pipe_t *ctrl_pipe, int iface_no,
    55     usb_hid_report_type_t type, uint8_t *buffer, size_t buf_size, 
     54errno_t usbhid_req_get_report(usb_pipe_t *ctrl_pipe, int iface_no,
     55    usb_hid_report_type_t type, uint8_t *buffer, size_t buf_size,
    5656    size_t *actual_size);
    5757
    58 int usbhid_req_get_protocol(usb_pipe_t *ctrl_pipe, int iface_no,
     58errno_t usbhid_req_get_protocol(usb_pipe_t *ctrl_pipe, int iface_no,
    5959    usb_hid_protocol_t *protocol);
    6060
    61 int usbhid_req_get_idle(usb_pipe_t *ctrl_pipe, int iface_no, uint8_t *duration);
     61errno_t usbhid_req_get_idle(usb_pipe_t *ctrl_pipe, int iface_no, uint8_t *duration);
    6262
    63 /*----------------------------------------------------------------------------*/
     63
    6464
    6565#endif /* USB_KBD_HIDREQ_H_ */
Note: See TracChangeset for help on using the changeset viewer.