SL_FindNodeName


NAME
SL_FindNodeName -- finds a node by name.

SYNOPSIS
nh = SL_FindNodeName(lh, name, casesensitive, pos);
D0 A0 A1 D0 A2

void *SL_FindNodeName(LISTHANDLE, SLCHAR *, SLFLAG, ULONG *);

FUNCTION
Finds a node in a list by name and returns the node. If the pos
argument is non-null then it is filled in with the position of the node
in the list. 0 is the first position.

INPUTS
list - a LISTHANDLE as returned by SL_CreateListA.
name - the node name to search for.
casesensitive - TRUE for a case sensitive search, FALSE for a case
insensitive search.
pos - a pointer to a variabvle that will be filled in with the position
of the node in the list. This may be NULL.

RESULTS
nh - a pointer to the extended data of the node or NULL if the name
could not be found.

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_FindNodeName  Command Section By Type  url:SL_FindNodeName
  created:2008-03-01 23:36:12   last updated:2008-03-01 23:36:12
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

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