GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / V2-12-1 > pbs / rhel5-32
#include <PBS/L_comdefs.h>
Functions | |
void | L_append (L_head *dst, L_head *src) |
Appends the src list members to the dst list. | |
void | L_destroy (L_head *list) |
Destroys the data structures associate with the list. | |
void | L_init (L_head *list) |
Initializes a singulaly linked list to an empty list. | |
L_node * | L_insert (L_head *list, L_node *node) |
Adds a node to the tail of a previously initialized list.. | |
L_node * | L_jam (L_head *list, L_node *node) |
Adds a node to the head of a previously initialized list. | |
void | L_prepend (L_head *dst, L_head *src) |
Prepends the src list members to the dst list. | |
L_node * | L_remove (L_head *list) |
Removes the node from the head of a previously initialized list. An empty list returns NULL as its node. | |
L_node * | L_unlink (const L_node *node, L_node *predecessor) |
Removes the specified node from the list. |
CVS $Id: L_protos.h,v 1.4 2011/03/24 23:05:42 apw Exp $
Appends the src list members to the dst list.
dst | A previously initialized list acting as the destination | |
src | A previously initialized list acting as the source |
void L_destroy | ( | L_head * | list | ) |
Destroys the data structures associate with the list.
list | Pointer to the list to destroy. |
Referenced by LI_destroy().
void L_init | ( | L_head * | list | ) |
Adds a node to the tail of a previously initialized list..
list | A previously initialized list. | |
node | The node to add at the tail of the list |
Adds a node to the head of a previously initialized list.
list | A previously initialized list.. | |
node | The node to add. |
Prepends the src list members to the dst list.
dst | A previously initialized list acting as the destination | |
src | A previously initialized list acting as the source |
Referenced by LI__prepend().
Removes the node from the head of a previously initialized list. An empty list returns NULL as its node.
list | A previously initialized list. |
Referenced by LI__removeW_toc().
Removes the specified node from the list.
node | The node to unlink from the list | |
predecessor | The predecessor node. |