Generated from list.c with ROBODoc v3.2.2 on Sun Aug 27 19:47:34 2000

TABLE OF CONTENTS

  1. GalaxyNG/List
  2. List/add2ListF
  3. List/addListF
  4. List/findElementF
  5. List/freelist
  6. List/numberOfElementsF
  7. List/numtop
  8. List/ptonum
  9. List/removeListF
  10. List/setName

GalaxyNG/List

NAME
  List -- a number of list manipulating functions.

List/add2ListF

NAME
   add2ListF --

List/addListF

NAME
   addListF --

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/freelist

NAME
   freelist -- free all members in a list

List/numberOfElementsF

NAME
   numberOfElementsF --

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/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/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/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()