+/* Create an iterator in the list private iterator structure */
+void listRewind(list *list) {
+ list->iter.next = list->head;
+ list->iter.direction = AL_START_HEAD;
+}
+
+void listRewindTail(list *list) {
+ list->iter.next = list->tail;
+ list->iter.direction = AL_START_TAIL;
+}
+