Changeset e2dfa86 in mainline for uspace/lib/usbdev/include/usb/dev/device.h
- Timestamp:
- 2013-01-27T13:54:40Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0eb2a0f
- Parents:
- 06f9a9c9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/include/usb/dev/device.h
r06f9a9c9 re2dfa86 41 41 #include <usb/dev/pipes.h> 42 42 43 /** Some useful descriptors for USB device. */ 44 typedef struct { 45 /** Standard device descriptor. */ 46 usb_standard_device_descriptor_t device; 47 /** Full configuration descriptor of current configuration. */ 48 const void *full_config; 49 size_t full_config_size; 50 } usb_device_descriptors_t; 51 43 52 typedef struct usb_device usb_device_t; 44 53 … … 70 79 int usb_device_get_iface_number(usb_device_t *); 71 80 72 const usb_standard_device_descriptor_t * 73 usb_device_get_device_descriptor(usb_device_t *); 74 const void * usb_device_get_configuration_descriptor(usb_device_t *, size_t *); 81 const usb_device_descriptors_t * usb_device_descriptors(usb_device_t *); 82 75 83 const usb_alternate_interfaces_t * usb_device_get_alternative_ifaces( 76 84 usb_device_t *);
Note:
See TracChangeset
for help on using the changeset viewer.