|
|
- NAME
- #include <exec/lists.h>
#include <proto/exec.h>
struct Node * FindName ()
- SYNOPSIS
- struct List * list
UBYTE * name
- FUNCTION
- Look for a node with a certain name in a list.
- INPUTS
- list
- Search this list.
- name
- This is the name to look for.
- RESULT
-
- NOTES
- The search is case-sensitive, so "Hello" will not find a node
named "hello".
The list must contain complete Nodes and no MinNodes.
- EXAMPLE
- struct List * list;
struct Node * node;
// Look for a node with the name "Hello"
node = FindName (list, "Hello");
- BUGS
-
- SEE ALSO
- Exec.library, AddHead(), AddTail(), Enqueue(), Insert(), RemHead(), RemTail(), Remove()
- INTERNALS
-
|