GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / V2-12-1 > pbs / sun-gcc
#include <PBS/L_protos.h>
#include <PBS/RW_protos.h>
#include <PBS/LI.h>
Functions | |
int | LI_init (LI_head *list, LI_type type) |
Initializes the list head of a singly linked list to an empty list. | |
int | LI_destroy (LI_head *list) |
Destroys the data structures associate with a list. |
CVS $Id: LI.c,v 1.4 2011/03/24 23:05:46 apw Exp $
This file simple picks up the correct implementation for the various platforms, redefining the inline versions to be traditional callable routines.
int LI_destroy | ( | LI_head * | list | ) |
Destroys the data structures associate with a list.
list | Pointer to the list to destroy. |
References _LI_head::head, L_destroy(), _LI_head::rw, and RW_destroy().
Referenced by FORK_destroy(), and FPA_destroy().
Initializes the list head of a singly linked list to an empty list.
list | Pointer to the list to initialize. | |
type | The type of interlocking linked list |
References _LI_head::head, L_init(), _LI_head::rw, and RW_init().
Referenced by FORK_create(), and FPA_init().