list.c
Go to the documentation of this file.
void AddFirstElement(void *Info, Tlist *list) Adds an element at the head of the list. Definition: list.c:196 boolean EndOfList(Titerator *i) Checks if an iterator is pointing at the end of the list. Definition: list.c:445 boolean MoveTo(unsigned int n, Titerator *i) Moves an iterator to a given position of its associated list. Definition: list.c:417 void ExtractCurrent(void *Info, Titerator *i) Extract the element pointed by the iterator from the list. Definition: list.c:308 void ExtractFirst(void *Info, Tlist *list) Extracts the first element from the list. Definition: list.c:212 void First(Titerator *i) Moves an iterator to the first position of its associated list. Definition: list.c:356 Error and warning functions. void Last(Titerator *i) Moves an iterator to the last position of its associated list. Definition: list.c:364 Definitions of constants and macros used in several parts of the cuik library. void PrivDelEle(Tbuf *node, Tlist *list) Private function to delete an element from the list. Definition: list.c:44 Definition of the Tlist type and the associated functions. void AddInFrontOfCurrent(void *Info, Titerator *i) Adds an element to the list in front of the position pointed by the iterator. Definition: list.c:325 void ExtractLast(void *Info, Tlist *list) Extracts the last element from the list. Definition: list.c:228 boolean Bacward(Titerator *i) Moves an iterator to the previuos position of its associated list. Definition: list.c:395 void AddLastElement(void *Info, Tlist *list) Adds an element at the tail of the list. Definition: list.c:206 void AddBehindCurrent(void *Info, Titerator *i) Adds an element to the list behind the position pointed by the iterator. Definition: list.c:333 boolean Advance(Titerator *i) Moves an iterator to the next position of its associated list. Definition: list.c:373 boolean HasElement(void *Info, boolean(*cmp)(void *, void *), Tlist *list) Searches an element in the list. Definition: list.c:244 void PrivAddElement(void *Info, Tbuf *pos, boolean in_front, Tlist *list) Private function to add an element from the list. Definition: list.c:71 |
Follow us!