Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4074 → Rev 4075

/branches/network/uspace/srv/net/structures/packet/packet.h
129,6 → 129,22
*/
void pq_destroy( packet_t first, void ( * packet_release )( packet_t packet ));
 
/** Returns the next packet in the queue.
* @param packet The packet queue member. Input parameter.
* @returns The next packet in the queue.
* @returns NULL if there is no next packet.
* @returns NULL if the packet is not valid.
*/
packet_t pq_next( packet_t packet );
 
/** Returns the previous packet in the queue.
* @param packet The packet queue member. Input parameter.
* @returns The previous packet in the queue.
* @returns NULL if there is no previous packet.
* @returns NULL if the packet is not valid.
*/
packet_t pq_previous( packet_t packet );
 
#endif
 
/** @}