openHiTLS API openHiTLS 0.1.0-Alpha1

◆ BSL_LIST_DetachNode()

void BSL_LIST_DetachNode ( BslList pstList,
BslListNode **  pstListNode 
)

This function detaches the matching input node from the input list. The node will be freed but, the data contained in the node will not be freed, and also the pList->first, pList->curr, and pList->last will be appropriately updated. If the matching node is the last node, then pList->curr will point to its previous node after detachment, else it will point to its next node.

Parameters
pstList[IN] The list.
pstListNode[in/out] when it is input parameter, it is the list node to be detached.