Ignore:
Timestamp:
2011-08-25T10:17:06Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b02308e
Parents:
1a02517
Message:

libusbhost: Add destructor for hcdata

File:
1 edited

Legend:

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

    r1a02517 r32e093e  
    5656        struct {
    5757                void *data;
     58                void (*data_dtor)(void*);
    5859                int (*toggle_get)(void *);
    5960                void (*toggle_set)(void *, int);
     
    6869
    6970void endpoint_set_hc_data(endpoint_t *instance,
    70     void *data, int (*toggle_get)(void *), void (*toggle_set)(void *, int));
     71    void *data, void (*data_dtor)(void *),
     72    int (*toggle_get)(void *), void (*toggle_set)(void *, int));
    7173
    7274void endpoint_clear_hc_data(endpoint_t *instance);
Note: See TracChangeset for help on using the changeset viewer.