Changes in uspace/lib/usbhost/include/usb/host/endpoint.h [620c710:160b75e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/endpoint.h
r620c710 r160b75e 54 54 fibril_condvar_t avail; 55 55 volatile bool active; 56 void (*destroy_hook)(struct endpoint *);57 56 struct { 58 57 void *data; … … 62 61 } endpoint_t; 63 62 64 endpoint_t * endpoint_get(usb_address_t address, usb_endpoint_t endpoint,65 usb_ direction_t direction, usb_transfer_type_t type, usb_speed_t speed,66 size_t max_packet_size);63 int endpoint_init(endpoint_t *instance, usb_address_t address, 64 usb_endpoint_t endpoint, usb_direction_t direction, 65 usb_transfer_type_t type, usb_speed_t speed, size_t max_packet_size); 67 66 68 67 void endpoint_destroy(endpoint_t *instance); 69 68 70 69 void endpoint_set_hc_data(endpoint_t *instance, 71 void *data, void (*destroy_hook)(endpoint_t *), 72 int (*toggle_get)(void *), void (*toggle_set)(void *, int)); 70 void *data, int (*toggle_get)(void *), void (*toggle_set)(void *, int)); 73 71 74 72 void endpoint_clear_hc_data(endpoint_t *instance);
Note:
See TracChangeset
for help on using the changeset viewer.