Generated from list.c with ROBODoc v3.2.2 on Sun Aug 27 19:47:34 2000
TABLE OF CONTENTS
- GalaxyNG/List
- List/add2ListF
- List/addListF
- List/findElementF
- List/freelist
- List/numberOfElementsF
- List/numtop
- List/ptonum
- List/removeListF
- List/setName
NAME
List -- a number of list manipulating functions.
NAME
add2ListF --
NAME
addListF --
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.
NAME
freelist -- free all members in a list
NAME
numberOfElementsF --
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.
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()
NAME
removeListF -
FUNCTION
Remove an element from a list.
NOTE
Do not use this function directly, use the
macro remList()
SEE ALSO
remList()
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()