A datatype for abstracting out the method of moving from one entry in a LinkedList to the next.
More...
#include <linked_list_iterator.h>
A datatype for abstracting out the method of moving from one entry in a LinkedList to the next.
This moves from one ListItem to the next and returns the data starting directly after the base ListItem, not the ListItem itself.
- See also
- LinkedList
◆ GetLinkedListIterator()
◆ GetNextItemFromIterator()
void * GetNextItemFromIterator |
( |
Iterator * |
iterator_p | ) |
|
Get the next entry in the LinkedList associated with an Iterator.
- Parameters
-
iterator_p | The Iterator to get the next entry from. |
- Returns
- The next entry in the underlying LinkedList or
NULL
if the end of the LinkedList has been reached. Note that the data returned is that starting directly after the base ListItem, not the ListItem itself.
◆ FreeIterator()
void FreeIterator |
( |
Iterator * |
iterator_p | ) |
|
◆ it_get_next_item_fn
void*(* it_get_next_item_fn) (struct Iterator *iterator_p) |
The callback function to move from one entry in a LinkedList to the next.
- Parameters
-
The documentation for this struct was generated from the following file: