AWS IoT Device SDK C:
Linear Containers
Linked lists and Queues
|
Return to main page ↑ |
Search a doubly-linked list for the first matching element and remove it.
An IotLink_t may be passed as pList
to start searching after the head of a doubly-linked list.
[in] | pList | The doubly-linked list to search. |
[in] | pStartPoint | An element in pList . Only elements between this one and the list tail are checked. Pass NULL to search from the beginning of the list. |
[in] | isMatch | Function to determine if an element matches. Pass NULL to search using the address pMatch , i.e. element == pMatch . |
[in] | pMatch | If isMatch is NULL , each element in the list is compared to this address to find a match. Otherwise, it is passed as the second argument to isMatch . |
NULL
if no match is found. The macro IotLink_Container may be used to determine the address of the link's container.