Changeset 77ad86c in mainline for uspace/lib/usbdev/include/usb


Ignore:
Timestamp:
2012-06-01T19:00:32Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b713ff80
Parents:
4e5dabf
Message:

cstyle (no change in functionality)

Location:
uspace/lib/usbdev/include/usb/dev
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/include/usb/dev/driver.h

    r4e5dabf r77ad86c  
    3333 * USB device driver framework.
    3434 */
     35
    3536#ifndef LIBUSBDEV_DRIVER_H_
    3637#define LIBUSBDEV_DRIVER_H_
  • uspace/lib/usbdev/include/usb/dev/hub.h

    r4e5dabf r77ad86c  
    3535 * For class specific requests, see usb/classes/hub.h.
    3636 */
     37
    3738#ifndef LIBUSBDEV_HUB_H_
    3839#define LIBUSBDEV_HUB_H_
     
    4344#include <usb/hc.h>
    4445
    45 int usb_hc_new_device_wrapper(ddf_dev_t *, usb_hc_connection_t *, usb_speed_t,
     46extern int usb_hc_new_device_wrapper(ddf_dev_t *, usb_hc_connection_t *, usb_speed_t,
    4647    int (*)(void *), void *, usb_address_t *, ddf_dev_ops_t *, void *,
    4748    ddf_fun_t **);
     
    6061} usb_hub_attached_device_t;
    6162
    62 int usb_hub_register_device(usb_hc_connection_t *,
     63extern int usb_hub_register_device(usb_hc_connection_t *,
    6364    const usb_hub_attached_device_t *);
    6465
     
    6970        if (attached_device == NULL)
    7071                return EBADMEM;
     72       
    7173        return usb_hc_release_address(conn, attached_device->address);
    7274}
    7375
    7476#endif
     77
    7578/**
    7679 * @}
  • uspace/lib/usbdev/include/usb/dev/recognise.h

    r4e5dabf r77ad86c  
    3333 * USB device recognition.
    3434 */
     35
    3536#ifndef LIBUSBDEV_RECOGNISE_H_
    3637#define LIBUSBDEV_RECOGNISE_H_
     
    4142#include <ipc/devman.h>
    4243
    43 int usb_device_create_match_ids_from_device_descriptor(
     44extern int usb_device_create_match_ids_from_device_descriptor(
    4445    const usb_standard_device_descriptor_t *, match_id_list_t *);
    4546
    46 int usb_device_create_match_ids_from_interface(
     47extern int usb_device_create_match_ids_from_interface(
    4748    const usb_standard_device_descriptor_t *,
    4849    const usb_standard_interface_descriptor_t *, match_id_list_t *);
    4950
    50 int usb_device_create_match_ids(usb_pipe_t *, match_id_list_t *);
     51extern int usb_device_create_match_ids(usb_pipe_t *, match_id_list_t *);
    5152
    52 int usb_device_register_child_in_devman(usb_pipe_t *ctrl_pipe,
     53extern int usb_device_register_child_in_devman(usb_pipe_t *ctrl_pipe,
    5354    ddf_dev_t *, ddf_dev_ops_t *, void *, ddf_fun_t **);
    5455
    5556#endif
     57
    5658/**
    5759 * @}
Note: See TracChangeset for help on using the changeset viewer.