Rev 3990 | Rev 4243 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3990 | Rev 4075 | ||
---|---|---|---|
Line 127... | Line 127... | ||
127 | * @param first The first packet of the queue. Input parameter. |
127 | * @param first The first packet of the queue. Input parameter. |
128 | * @param packet_release The releasing function called for each of the packets after its detachment. Input parameter. |
128 | * @param packet_release The releasing function called for each of the packets after its detachment. Input parameter. |
129 | */ |
129 | */ |
130 | void pq_destroy( packet_t first, void ( * packet_release )( packet_t packet )); |
130 | void pq_destroy( packet_t first, void ( * packet_release )( packet_t packet )); |
131 | 131 | ||
- | 132 | /** Returns the next packet in the queue. |
|
- | 133 | * @param packet The packet queue member. Input parameter. |
|
- | 134 | * @returns The next packet in the queue. |
|
- | 135 | * @returns NULL if there is no next packet. |
|
- | 136 | * @returns NULL if the packet is not valid. |
|
- | 137 | */ |
|
- | 138 | packet_t pq_next( packet_t packet ); |
|
- | 139 | ||
- | 140 | /** Returns the previous packet in the queue. |
|
- | 141 | * @param packet The packet queue member. Input parameter. |
|
- | 142 | * @returns The previous packet in the queue. |
|
- | 143 | * @returns NULL if there is no previous packet. |
|
- | 144 | * @returns NULL if the packet is not valid. |
|
- | 145 | */ |
|
- | 146 | packet_t pq_previous( packet_t packet ); |
|
- | 147 | ||
132 | #endif |
148 | #endif |
133 | 149 | ||
134 | /** @} |
150 | /** @} |
135 | */ |
151 | */ |