A list handle has a front, rear, and current element. The current element may be accessed with list_curr() and the other elements would be access with similarly named functions. Inserting new elements into the list causes the current element to refer to the newly inserted element. The current element pointer may also be changed with list_mvnext(), list_mvprev(), list_mvfirst(), and list_mvrear().
When updating or accessing a list, often operations are performed on the whole list at once or a search is done to find a certain element in the list. These operations may be performed using the basic list manipulation functions mentioned above. One may apply a function conforming to list_traverse_func_t to list elements using list_traverse(). The return value of this function can interrupt the traversal and the traversal can update the current element, making it useful for performing searches.
1.5.8