Rev 3990 | Rev 4192 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3990 | Rev 4075 | ||
---|---|---|---|
Line 191... | Line 191... | ||
191 | * @returns NULL on error. |
191 | * @returns NULL on error. |
192 | * \todo error as NET_PACKET_CREATE_1, packet_return() |
192 | * \todo error as NET_PACKET_CREATE_1, packet_return() |
193 | */ |
193 | */ |
194 | packet_t packet_get_1( int phone, size_t content ); |
194 | packet_t packet_get_1( int phone, size_t content ); |
195 | 195 | ||
196 | /** Releases the packet. |
196 | /** Releases the packet queue. |
197 | * The packet is marked as free for use. |
197 | * All packets in the queue are marked as free for use. |
- | 198 | * The packet queue may be one packet only. |
|
198 | * The module should not use the packet after this point until it is received or obtained again. |
199 | * The module should not use the packets after this point until they are received or obtained again. |
199 | * @param phone The packet server module phone. Input parameter. |
200 | * @param phone The packet server module phone. Input parameter. |
200 | * @param packet_id The packet identifier. Input parameter. |
201 | * @param packet_id The packet identifier. Input parameter. |
201 | */ |
202 | */ |
202 | void packet_release( int phone, packet_id_t packet_id ); |
203 | void packet_release( int phone, packet_id_t packet_id ); |
203 | 204 |