Rev 4395 | Rev 4705 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4395 | Rev 4704 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | #ifndef __NET_PACKET_CLIENT_H__ |
44 | #ifndef __NET_PACKET_CLIENT_H__ |
45 | #define __NET_PACKET_CLIENT_H__ |
45 | #define __NET_PACKET_CLIENT_H__ |
46 | 46 | ||
47 | #include "packet.h" |
47 | #include "packet.h" |
48 | 48 | ||
- | 49 | /** @name Packet client interface |
|
- | 50 | */ |
|
- | 51 | /*@{*/ |
|
- | 52 | ||
49 | /** Allocates the specified type right before the actual packet content and returns its pointer. |
53 | /** Allocates the specified type right before the actual packet content and returns its pointer. |
50 | * The wrapper of the packet_prepend() function. |
54 | * The wrapper of the packet_prepend() function. |
51 | * @param packet The packet to be used. Input parameter. |
55 | * @param packet The packet to be used. Input parameter. |
52 | * @param type The type to be allocated at the beginning of the packet content. Input parameter. |
56 | * @param type The type to be allocated at the beginning of the packet content. Input parameter. |
53 | * @returns The typed pointer to the allocated memory. |
57 | * @returns The typed pointer to the allocated memory. |
Line 197... | Line 201... | ||
197 | * @param phone The packet server module phone. Input parameter. |
201 | * @param phone The packet server module phone. Input parameter. |
198 | * @param packet_id The packet identifier. Input parameter. |
202 | * @param packet_id The packet identifier. Input parameter. |
199 | */ |
203 | */ |
200 | void pq_release( int phone, packet_id_t packet_id ); |
204 | void pq_release( int phone, packet_id_t packet_id ); |
201 | 205 | ||
- | 206 | /*@}*/ |
|
- | 207 | ||
202 | #endif |
208 | #endif |
203 | 209 | ||
204 | /** @} |
210 | /** @} |
205 | */ |
211 | */ |