| libcstl
    | 
Go to the source code of this file.
| Functions | |
| void | cstl_slist_insert_after (struct cstl_slist *const sl, void *const e, void *const n) | 
| Insert a new object into the list. | |
| void * | cstl_slist_erase_after (struct cstl_slist *const sl, void *const e) | 
| Remove an object from the list. | |
| void | cstl_slist_push_front (struct cstl_slist *const sl, void *const e) | 
| Insert a new object at the front of the list. | |
| void | cstl_slist_push_back (struct cstl_slist *const sl, void *const e) | 
| Insert a new object at the back of the list. | |
| void * | cstl_slist_pop_front (struct cstl_slist *const sl) | 
| Remove the first item in the list and return it. | |
| void * | cstl_slist_front (const struct cstl_slist *const sl) | 
| Get a pointer to the first object in the list. | |
| void * | cstl_slist_back (const struct cstl_slist *const sl) | 
| Get a pointer to the last object in the list. | |
| void | cstl_slist_reverse (struct cstl_slist *const sl) | 
| Reverse the order of items in the list. | |
| void | cstl_slist_concat (struct cstl_slist *const dst, struct cstl_slist *const src) | 
| Append one list to the end of another. | |
| void | cstl_slist_sort (struct cstl_slist *const sl, cstl_compare_func_t *const cmp, void *const cmp_p) | 
| Sort the items in a list. | |
| int | cstl_slist_foreach (struct cstl_slist *const sl, cstl_visit_func_t *const visit, void *const p) | 
| Call a user-supplied function for each object in a list. | |
| void | cstl_slist_clear (struct cstl_slist *const sl, cstl_xtor_func_t *const clr) | 
| Remove objects from and reinitialize a list. | |
| void | cstl_slist_swap (struct cstl_slist *const a, struct cstl_slist *const b) | 
| Swap the list objects at the two given locations. | |