GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / dev > pbs / mv2304


Interface   Data Structures   File List   Data Fields   Globals  

L_pubdefs.h File Reference

Singly linked list, public data structures. More...

#include <PBS/L_comdefs.h>

Classes

struct  _L_node
 Defines the control structure needed to maintain a node on a singly linked list. More...
struct  _L_head
 Defines the control structure needed to describe the head of a singly linked list. More...

Defines

#define L_IS_EMPTY(list)   ((list)->flnk == (L_node *)&((list)->flnk))
 Tests if a list is empty.


Detailed Description

Singly linked list, public data structures.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: L_pubdefs.h,v 1.3 2011/03/24 23:05:42 apw Exp $

SYNOPIS
This defines the control structures needed for the L routines. The function prototypes for the non-inlined versions are defined in a separate file, since they do not depend on the structure definitions.
This file is automatically included with the file L.h

Define Documentation

#define L_IS_EMPTY ( list   )     ((list)->flnk == (L_node *)&((list)->flnk))

Tests if a list is empty.

Parameters:
list The list to test
Return values:
!= 0 if empty
== 0, if not empty

Referenced by pl__remove().


Generated on Fri Aug 5 18:37:51 2011 by  doxygen 1.5.8