Changeset fdbc3ff in mainline for uspace/lib/packet/generic/packet_server.c
- Timestamp:
- 2010-11-19T23:50:06Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 46d4d9f
- Parents:
- b4c9c61 (diff), a9c6b966 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/packet/generic/packet_server.c
rb4c9c61 rfdbc3ff 103 103 }; 104 104 105 int packet_translate_local(int phone, packet_ refpacket, packet_id_t packet_id)105 int packet_translate_local(int phone, packet_t *packet, packet_id_t packet_id) 106 106 { 107 107 if (!packet) … … 154 154 * @param[in] max_content The maximal content length in bytes. 155 155 * @param[in] max_suffix The maximal suffix length in bytes. 156 * @return sThe packet of dimensions at least as given.157 * @return sNULL if there is not enough memory left.156 * @return The packet of dimensions at least as given. 157 * @return NULL if there is not enough memory left. 158 158 */ 159 159 static packet_t … … 278 278 * 279 279 * @param[in] packet_id The first packet identifier. 280 * @return sEOK on success.281 * @return sENOENT if there is no such packet.280 * @return EOK on success. 281 * @return ENOENT if there is no such packet. 282 282 */ 283 283 static int packet_release_wrapper(packet_id_t packet_id) … … 303 303 /** Shares the packet memory block. 304 304 * @param[in] packet The packet to be shared. 305 * @return sEOK on success.306 * @return sEINVAL if the packet is not valid.307 * @return sEINVAL if the calling module does not accept the memory.308 * @return sENOMEM if the desired and actual sizes differ.309 * @return sOther error codes as defined for the305 * @return EOK on success. 306 * @return EINVAL if the packet is not valid. 307 * @return EINVAL if the calling module does not accept the memory. 308 * @return ENOMEM if the desired and actual sizes differ. 309 * @return Other error codes as defined for the 310 310 * async_share_in_finalize() function. 311 311 */ … … 339 339 * @param[out] answer_count The last parameter for the actual answer in the 340 340 * answer parameter. 341 * @return sEOK on success.342 * @return sENOMEM if there is not enough memory left.343 * @return sENOENT if there is no such packet as in the packet341 * @return EOK on success. 342 * @return ENOMEM if there is not enough memory left. 343 * @return ENOENT if there is no such packet as in the packet 344 344 * message parameter. 345 * @return sENOTSUP if the message is not known.346 * @return sOther error codes as defined for the345 * @return ENOTSUP if the message is not known. 346 * @return Other error codes as defined for the 347 347 * packet_release_wrapper() function. 348 348 */
Note:
See TracChangeset
for help on using the changeset viewer.