Changeset e9e58ea3 in mainline for uspace/lib/usb/include
- Timestamp:
- 2011-02-25T15:03:29Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6cbe7dad
- Parents:
- 233e68d (diff), 3b0fb049 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/lib/usb/include/usb
- Files:
-
- 2 edited
-
classes/hub.h (modified) (1 diff)
-
request.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/classes/hub.h
r233e68d re9e58ea3 196 196 extern size_t USB_HUB_MAX_DESCRIPTOR_SIZE; 197 197 198 /**199 * @brief create uint8_t array with serialized descriptor200 *201 * @param descriptor202 */203 void * usb_serialize_hub_descriptor(usb_hub_descriptor_t * descriptor);204 205 /**206 * @brief create deserialized desriptor structure out of serialized descriptor207 *208 * The serialized descriptor must be proper usb hub descriptor, otherwise an eerror might occur.209 *210 * @param sdescriptor serialized descriptor211 */212 usb_hub_descriptor_t * usb_deserialize_hub_desriptor(void * sdescriptor);213 198 214 199 -
uspace/lib/usb/include/usb/request.h
r233e68d re9e58ea3 37 37 38 38 #include <sys/types.h> 39 #include <l18n/langs.h> 39 40 #include <usb/usb.h> 40 41 #include <usb/pipes.h> … … 96 97 int usb_request_get_descriptor(usb_endpoint_pipe_t *, usb_request_type_t, 97 98 uint8_t, uint8_t, uint16_t, void *, size_t, size_t *); 99 int usb_request_get_descriptor_alloc(usb_endpoint_pipe_t *, usb_request_type_t, 100 uint8_t, uint8_t, uint16_t, void **, size_t *); 98 101 int usb_request_get_device_descriptor(usb_endpoint_pipe_t *, 99 102 usb_standard_device_descriptor_t *); … … 104 107 int usb_request_set_configuration(usb_endpoint_pipe_t *, uint8_t); 105 108 109 int usb_request_get_supported_languages(usb_endpoint_pipe_t *, 110 l18_win_locales_t **, size_t *); 111 int usb_request_get_string(usb_endpoint_pipe_t *, size_t, l18_win_locales_t, 112 char **); 113 106 114 #endif 107 115 /**
Note:
See TracChangeset
for help on using the changeset viewer.
