Changes in uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h [77ad86c:8d2e251] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h
r77ad86c r8d2e251 37 37 #define LIBUSBHOST_HOST_USB_TRANSFER_BATCH_H 38 38 39 #include <adt/list.h> 39 #include <usb/host/endpoint.h> 40 #include <usb/usb.h> 40 41 42 #include <assert.h> 43 #include <stdbool.h> 44 #include <sys/types.h> 41 45 #include <usbhc_iface.h> 42 #include <usb/usb.h>43 #include <usb/host/endpoint.h>44 46 45 47 #define USB_SETUP_PACKET_SIZE 8 … … 67 69 */ 68 70 size_t setup_size; 69 /** Host controller function, passed to callback function */70 ddf_fun_t *fun;71 71 72 72 /** Actually used portion of the buffer … … 80 80 */ 81 81 int error; 82 83 /** Driver specific data */84 void *private_data;85 /** Callback to properly remove driver data during destruction */86 void (*private_data_dtor)(void *p_data);87 82 } usb_transfer_batch_t; 88 83 … … 108 103 usbhc_iface_transfer_in_callback_t func_in, 109 104 usbhc_iface_transfer_out_callback_t func_out, 110 void *arg, 111 ddf_fun_t *fun, 112 void *private_data, 113 void (*private_data_dtor)(void *p_data) 105 void *arg 114 106 ); 115 107 void usb_transfer_batch_destroy(const usb_transfer_batch_t *instance);
Note:
See TracChangeset
for help on using the changeset viewer.