Ignore:
Timestamp:
2011-08-25T14:21:57Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
961c29e8
Parents:
e20eaed
Message:

libushost: promote endpoint data dtor to destruction hook

ohci: use new usb c driver architecture

File:
1 edited

Legend:

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

    re20eaed r620c710  
    5454        fibril_condvar_t avail;
    5555        volatile bool active;
     56        void (*destroy_hook)(struct endpoint *);
    5657        struct {
    5758                void *data;
    58                 void (*data_dtor)(void*);
    5959                int (*toggle_get)(void *);
    6060                void (*toggle_set)(void *, int);
     
    6969
    7070void endpoint_set_hc_data(endpoint_t *instance,
    71     void *data, void (*data_dtor)(void *),
     71    void *data, void (*destroy_hook)(endpoint_t *),
    7272    int (*toggle_get)(void *), void (*toggle_set)(void *, int));
    7373
Note: See TracChangeset for help on using the changeset viewer.