Changeset 1103374 in mainline for uspace/lib/usb/src/hidparser.c


Ignore:
Timestamp:
2010-12-12T12:37:07Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7b254e22, 82783b0
Parents:
8dc569a
Message:

Fixed function headers and comments (size of data).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/hidparser.c

    r8dc569a r1103374  
    4040 * @param parser Opaque HID report parser structure.
    4141 * @param data Data describing the report.
     42 * @param size Size of the descriptor in bytes.
    4243 * @return Error code.
    4344 */
    4445int usb_hid_parse_report_descriptor(usb_hid_report_parser_t *parser,
    45     const uint8_t *data)
     46    const uint8_t *data, size_t size)
    4647{
    4748        return ENOTSUP;
     
    5455 * @param parser Opaque HID report parser structure.
    5556 * @param data Data for the report.
     57 * @param size Size of the data in bytes.
    5658 * @param callbacks Callbacks for report actions.
    5759 * @param arg Custom argument (passed through to the callbacks).
     
    5961 */
    6062int usb_hid_parse_report(const usb_hid_report_parser_t *parser, 
    61     const uint8_t *data,
     63    const uint8_t *data, size_t size,
    6264    const usb_hid_report_in_callbacks_t *callbacks, void *arg)
    6365{
Note: See TracChangeset for help on using the changeset viewer.