Changeset cd5b878 in mainline for uspace/drv/usbhub/usbhub_private.h
- Timestamp:
- 2011-04-15T11:49:36Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c1693dae
- Parents:
- 3a85a2b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/usbhub_private.h
r3a85a2b rcd5b878 166 166 } 167 167 168 /**169 * create uint8_t array with serialized descriptor170 *171 * @param descriptor172 * @return newly created serializd descriptor pointer173 */174 void * usb_serialize_hub_descriptor(usb_hub_descriptor_t * descriptor);175 168 176 /** 177 * create deserialized desriptor structure out of serialized descriptor 178 * 179 * The serialized descriptor must be proper usb hub descriptor,180 * otherwise an eerror might occur. 181 * 182 * @param sdescriptor serialized descriptor183 * @return newly created deserialized descriptor pointer 184 */ 185 usb_hub_descriptor_t * usb_deserialize_hub_desriptor(void * sdescriptor);169 void * usb_create_serialized_hub_descriptor(usb_hub_descriptor_t * descriptor); 170 171 void usb_serialize_hub_descriptor(usb_hub_descriptor_t * descriptor, 172 void * serialized_descriptor); 173 174 usb_hub_descriptor_t * usb_create_deserialized_hub_desriptor( 175 void * serialized_descriptor); 176 177 void usb_deserialize_hub_desriptor(void * serialized_descriptor, 178 usb_hub_descriptor_t * descriptor); 186 179 187 180
Note:
See TracChangeset
for help on using the changeset viewer.