Subversion Repositories HelenOS

Rev

Rev 4505 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4505 Rev 4756
Line 49... Line 49...
49
#include "packet_header.h"
49
#include "packet_header.h"
50
#include "packet_messages.h"
50
#include "packet_messages.h"
51
 
51
 
52
/** Obtains the packet from the packet server as the shared memory block.
52
/** Obtains the packet from the packet server as the shared memory block.
53
 *  Creates the local packet mapping as well.
53
 *  Creates the local packet mapping as well.
54
 *  @param phone The packet server module phone. Input parameter.
54
 *  @param[in] phone The packet server module phone.
55
 *  @param packet The packet reference pointer to store the received packet reference. Output parameter.
55
 *  @param[out] packet The packet reference pointer to store the received packet reference.
56
 *  @param packet_id The packet identifier. Input parameter.
56
 *  @param[in] packet_id The packet identifier.
57
 *  @param size The packet total size in bytes. Input parameter.
57
 *  @param[in] size The packet total size in bytes.
58
 *  @returns EOK on success.
58
 *  @returns EOK on success.
59
 *  @returns Other error codes as defined for the pm_add() function.
59
 *  @returns Other error codes as defined for the pm_add() function.
60
 *  @returns Other error codes as defined for the ipc_share_in_start() function.
60
 *  @returns Other error codes as defined for the ipc_share_in_start() function.
61
 */
61
 */
62
int packet_return( int phone, packet_ref packet, packet_id_t packet_id, size_t size );
62
int packet_return( int phone, packet_ref packet, packet_id_t packet_id, size_t size );