GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBS / V2-10-5

Constituent: pbs     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

LI.c File Reference

Implementation file for the interlocked singly linked list routines, LI. More...

#include "PBS/L_protos.h"
#include "PBS/RW_protos.h"
#include "PBS/LI.h"

Include dependency graph for LI.c:

Include dependency graph

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.


Detailed Description

Implementation file for the interlocked singly linked list routines, LI.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: LI.c,v 1.3 2004/10/20 14:36:53 russell Exp $
    

This file simple picks up the correct implementation for the various platforms, redefining the inline versions to be traditional callable routines.


Function Documentation

int LI_destroy LI_head list  ) 
 

Destroys the data structures associate with a list.

Parameters:
list Pointer to the list to destroy.
This routine releases the resources acquired when the list was initialized by LI_init.

Here is the call graph for this function:

int LI_init LI_head list,
LI_type  type
 

Initializes the list head of a singly linked list to an empty list.

Parameters:
list Pointer to the list to initialize.
type The type of interlocking linked list
The list is initialized to an empty list. This must be done before performing any other operations on the list. The type determines how the list behaves when one attempts to remove a node from an empty list.

Here is the call graph for this function:


Generated on Tue Sep 13 21:37:46 2005 by doxygen 1.3.3