Ignore:
Timestamp:
2017-10-22T16:38:19Z (7 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
89cefe78
Parents:
4594baa
Message:

Refactoring. Renamed functions in bus endpoint interface. Register/release is now register/unregister to prevent name collisions with use/release.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/include/usb/host/bus.h

    r4594baa ree794529  
    8484        endpoint_t *(*create_endpoint)(bus_t *);
    8585        int (*register_endpoint)(bus_t *, endpoint_t *);
    86         int (*release_endpoint)(bus_t *, endpoint_t *);
     86        int (*unregister_endpoint)(bus_t *, endpoint_t *);
    8787        endpoint_t *(*find_endpoint)(bus_t *, usb_target_t, usb_direction_t);
    8888        void (*destroy_endpoint)(endpoint_t *);                 /**< Optional */
     
    129129endpoint_t *bus_create_endpoint(bus_t *);
    130130int bus_register_endpoint(bus_t *, endpoint_t *);
    131 int bus_release_endpoint(bus_t *, endpoint_t *);
     131int bus_unregister_endpoint(bus_t *, endpoint_t *);
    132132endpoint_t *bus_find_endpoint(bus_t *, usb_target_t, usb_direction_t);
    133133
Note: See TracChangeset for help on using the changeset viewer.