Generated from /home/galaxyng/NG/Source/list.c with ROBODoc v4.0.18 on Mon Jan 05 22:26:09 2004

TABLE OF CONTENTS


GalaxyNG/List

NAME

  List -- a number of list manipulating functions.

List/numberOfElementsF

NAME

   numberOfElementsF --

List/add2ListF

NAME

   add2ListF --

List/freelist

NAME

   freelist -- free all members in a list

List/addListF

NAME

   addListF --

List/insertListF

NAME

   insertListF --

List/findElementF

NAME

   findElementF --

SYNOPSIS

   list *findElementF(list *aList, char *name)

FUNCTION

   Find an element in a list based on the name
   of the element.

INPUTS

   aList -- pointer to the first element in the list.
   name  -- name of the element to find.

RESULT

   Address of the element or NULL in case the
   element was not found.

List/removeListF

NAME

   removeListF -

FUNCTION

   Remove an element from a list.
 NOTE
   Do not use this function directly, use the
   macro remList()

SEE ALSO

   remList()

List/ptonum

NAME

  ptonum -- convert pointer to index number 

SYNOPSIS

   void *ptonum(void *base, void *target)

FUNCTION

   Gives the index number of an element in a list.

INPUTS

   base   - base address of the list
   target - the element 

RESULT

   the index number of the element.

SEE ALSO

   numtop()

List/numtop

NAME

   numtop -- convert index number to pointer 

SYNOPSIS

   void *numtop(void *base, int n)

FUNCTION

   Look up an element in a list using it's index number.

INPUTS

   base - base address of the list
   n    - index number

RESULT

   address of the element.

List/setName

NAME

   setNameF

FUNCTION

   Set the name of an element in a list.
 NOTE
   Do not use this function directly, use the
   macro setName()

SEE ALSO

   setName()