Changes in uspace/drv/bus/usb/usbmid/usbmid.h [5203e256:9f583151] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbmid/usbmid.h
r5203e256 r9f583151 51 51 ddf_fun_t *fun; 52 52 /** Interface descriptor. */ 53 usb_standard_interface_descriptor_t *interface;53 const usb_standard_interface_descriptor_t *interface; 54 54 /** Interface number. */ 55 55 int interface_no; … … 58 58 } usbmid_interface_t; 59 59 60 /** Container to hold all the function pointers */ 61 typedef struct usb_mid { 62 ddf_fun_t *ctl_fun; 63 list_t interface_list; 64 } usb_mid_t; 65 60 66 bool usbmid_explore_device(usb_device_t *); 61 67 int usbmid_spawn_interface_child(usb_device_t *, usbmid_interface_t *, … … 63 69 const usb_standard_interface_descriptor_t *); 64 70 void usbmid_dump_descriptors(uint8_t *, size_t); 71 int usbmid_interface_destroy(usbmid_interface_t *mid_iface); 72 73 static inline usbmid_interface_t * usbmid_interface_from_link(link_t *item) 74 { 75 return list_get_instance(item, usbmid_interface_t, link); 76 } 65 77 66 78 #endif
Note:
See TracChangeset
for help on using the changeset viewer.