GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / V2-12-1 > pbs / rhel6-32
#include <PBS/Q_comdefs.h>
Functions | |
void | Q_append (Q_head *dst, Q_head *src) |
Appends the src que members to the dst que. | |
void | Q_init (Q_head *que) |
Initializes a que (doubly linked list) to an empty que. | |
void | Q_destroy (Q_head *que) |
Destroys the data structures associate with the que. | |
Q_node * | Q_insert (Q_head *que, Q_node *node) |
Adds a node to the tail of a previously initialized que. | |
Q_node * | Q_jam (Q_head *que, Q_node *node) |
Adds a node to the head of a previously initialized que. | |
void | Q_prepend (Q_head *dst, Q_head *src) |
Prepends the src que members to the que list. | |
Q_node * | Q_remove (Q_head *que) |
Removes the node from the tail of a previously initialized que. An empty que returns NULL as its node. | |
Q_node * | Q_unlink (const Q_node *node) |
Removes the specified node from the que. |
CVS $Id: Q_protos.h,v 1.3 2011/03/24 23:05:43 apw Exp $
Appends the src que members to the dst que.
dst | A previously initialized que acting as the destination | |
src | A previously initialized que acting as the source |
void Q_destroy | ( | Q_head * | que | ) |
Destroys the data structures associate with the que.
que | Pointer to the que to destroy. |
Referenced by QI_destroy().
void Q_init | ( | Q_head * | que | ) |
Initializes a que (doubly linked list) to an empty que.
que | Pointer to the que to initialize. |
Referenced by QI_init(), and WUT_sys_init().
Adds a node to the tail of a previously initialized que.
que | A previously initialized que. | |
node | The node to add at the tail of the que |
Referenced by WUT_sys_connect().
Adds a node to the head of a previously initialized que.
que | A previously initialized que. | |
node | The node to add. |
Prepends the src que members to the que list.
dst | A previously initialized que acting as the destination | |
src | A previously initialized que acting as the source |
Removes the node from the tail of a previously initialized que. An empty que returns NULL as its node.
que | A previously initialized que. |
Referenced by QI__removeW_toc().
Removes the specified node from the que.
node | The node to unlink from the que |