Changeset 1bfd3d3 in mainline for uspace/lib/net/include/packet_client.h
- Timestamp:
- 2010-11-19T22:02:09Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 973ef9fc, a9c6b966
- Parents:
- cc3c2a1c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/include/packet_client.h
rcc3c2a1c r1bfd3d3 61 61 * @param[in] type The type to be allocated at the beginning of the packet 62 62 * content. 63 * @return sThe typed pointer to the allocated memory.64 * @return sNULL if the packet is not valid.65 * @return sNULL if there is not enough memory left.63 * @return The typed pointer to the allocated memory. 64 * @return NULL if the packet is not valid. 65 * @return NULL if there is not enough memory left. 66 66 */ 67 67 #define PACKET_PREFIX(packet, type) \ … … 76 76 * @param[in] type The type to be allocated at the end of the packet 77 77 * content. 78 * @return sThe typed pointer to the allocated memory.79 * @return sNULL if the packet is not valid.80 * @return sNULL if there is not enough memory left.78 * @return The typed pointer to the allocated memory. 79 * @return NULL if the packet is not valid. 80 * @return NULL if there is not enough memory left. 81 81 */ 82 82 #define PACKET_SUFFIX(packet, type) \ … … 92 92 * @param[in] suffix The type of the suffix to be removed from the end of 93 93 * the packet content. 94 * @return sEOK on success.95 * @return sEINVAL if the packet is not valid.96 * @return sENOMEM if there is not enough memory left.94 * @return EOK on success. 95 * @return EINVAL if the packet is not valid. 96 * @return ENOMEM if there is not enough memory left. 97 97 */ 98 98 #define PACKET_TRIM(packet, prefix, suffix) \
Note:
See TracChangeset
for help on using the changeset viewer.