GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> IPBS / V0-0-2 > pbs / i845e


Interface   Data Structures   File List   Data Fields   Globals  

L_pubdefs.h File Reference

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

#include <IPBS/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.2 2011/03/25 21:15:00 saxton 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 Wed Nov 21 21:23:52 2012 by  doxygen 1.5.8