Changeset d493ac17 in mainline


Ignore:
Timestamp:
2011-02-25T09:54:56Z (14 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3185692, cd4b184
Parents:
ca56afa
Message:

corrected usb hub descriptor serialization/deserialization declaration placement

Location:
uspace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhub/usbhub_private.h

    rca56afa rd493ac17  
    162162}
    163163
     164/**
     165 * @brief create uint8_t array with serialized descriptor
     166 *
     167 * @param descriptor
     168 * @return newly created serializd descriptor pointer
     169 */
     170void * 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 */
     181usb_hub_descriptor_t * usb_deserialize_hub_desriptor(void * sdescriptor);
    164182
    165183
  • uspace/lib/usb/include/usb/classes/hub.h

    rca56afa rd493ac17  
    196196extern size_t USB_HUB_MAX_DESCRIPTOR_SIZE;
    197197
    198 /**
    199  * @brief create uint8_t array with serialized descriptor
    200  *
    201  * @param descriptor
    202  */
    203 void * usb_serialize_hub_descriptor(usb_hub_descriptor_t * descriptor);
    204 
    205 /**
    206  * @brief create deserialized desriptor structure out of serialized descriptor
    207  *
    208  * The serialized descriptor must be proper usb hub descriptor, otherwise an eerror might occur.
    209  *
    210  * @param sdescriptor serialized descriptor
    211  */
    212 usb_hub_descriptor_t * usb_deserialize_hub_desriptor(void * sdescriptor);
    213198
    214199
Note: See TracChangeset for help on using the changeset viewer.