diff options
Diffstat (limited to '')
-rw-r--r-- | src/list.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/list.h b/src/list.h index 6d5f5e0c7..ec72561a4 100644 --- a/src/list.h +++ b/src/list.h @@ -97,6 +97,9 @@ void deleteNodeFromList(List * list,ListNode * node); */ int findInList(List * list, char * key, void ** data); +/* if _key_ is not found, *_node_ is assigned to the node before which + the info would be found */ +int findNodeInList(List * list, char * key, ListNode ** node, int * pos); /* frees memory malloc'd for list and its nodes * _list_ -> List to be free'd |