Changeset d493ac17 in mainline
- Timestamp:
- 2011-02-25T09:54:56Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3185692, cd4b184
- Parents:
- ca56afa
- Location:
- uspace
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/usbhub_private.h
rca56afa rd493ac17 162 162 } 163 163 164 /** 165 * @brief create uint8_t array with serialized descriptor 166 * 167 * @param descriptor 168 * @return newly created serializd descriptor pointer 169 */ 170 void * usb_serialize_hub_descriptor(usb_hub_descriptor_t * descriptor); 171 172 /** 173 * @brief create deserialized desriptor structure out of serialized descriptor 174 * 175 * The serialized descriptor must be proper usb hub descriptor, 176 * otherwise an eerror might occur. 177 * 178 * @param sdescriptor serialized descriptor 179 * @return newly created deserialized descriptor pointer 180 */ 181 usb_hub_descriptor_t * usb_deserialize_hub_desriptor(void * sdescriptor); 164 182 165 183 -
uspace/lib/usb/include/usb/classes/hub.h
rca56afa rd493ac17 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
Note:
See TracChangeset
for help on using the changeset viewer.