SL_FindNodeFunc


NAME
SL_FindNodeFunc -- finds a node using a user supplied function.

SYNOPSIS
node = SL_FindNodeFunc(list, func);
D0 A0 A1

void *SL_FindNodeFunc(LISTHANDLE, SLFLAG (*)(void *), ULONG *);

FUNCTION
Searches a list for a node calling a user supplied function at each
node to determine if it has found it yet.

The function returns TRUE if the given node is the one being searched
for or FALSE if it is not.

INPUTS
list - a LISTHANDLE as returned by SL_CreateListA.
func - a function to test each node.

NOTE
The function must be declared using SL_CALLBACK.

SEE ALSO
SL_AddNodeAfter, SL_AddNodeBefore, SL_AddNodeHead, SL_AddNodeSorted, SL_AddNodeSortedFunc, SL_AddNodeTail, SL_ClearList, SL_CountNodes, SL_CreateListA, SL_CreateNodeA, SL_FindNodeFunc, SL_FindNodeName, SL_FindNodePos, SL_FindNodeUserData, SL_FirstNode, SL_FreeList, SL_FreeNode, SL_GetListAttr, SL_GetNodeAttr, SL_IsListEmpty, SL_LastNode, SL_NextNode, SL_PrevNode, SL_RemoveNode, SL_RemoveNodeHead, SL_RemoveNodeTail, SL_SetListAttrA, SL_SetNodeAttrA, SL_SortList, SL_SortListField, SL_SortListFieldRange, SL_SortListFunc, SL_SortListFuncRange, SL_SortListRange.

 

SL_FindNodeFunc  Command Section By Type  url:SL_FindNodeFunc
  created:2008-03-01 23:36:36   last updated:2008-03-01 23:36:36
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_FindNodeFunc
There are no user contributed comments for this page.