26 UcxList *ucx_list_prepend(UcxList *l, void *data); |
26 UcxList *ucx_list_prepend(UcxList *l, void *data); |
27 UcxList *ucx_list_concat(UcxList *l1, UcxList *l2); |
27 UcxList *ucx_list_concat(UcxList *l1, UcxList *l2); |
28 UcxList *ucx_list_last(UcxList *l); |
28 UcxList *ucx_list_last(UcxList *l); |
29 UcxList *ucx_list_get(UcxList *l, int index); |
29 UcxList *ucx_list_get(UcxList *l, int index); |
30 size_t ucx_list_size(UcxList *l); |
30 size_t ucx_list_size(UcxList *l); |
31 void ucx_list_foreach(UcxList *l, ucx_callback fnc, void *data); |
31 |
|
32 UcxList *ucx_list_sort(UcxList *l, cmp_func fnc, void *data); |
32 |
33 |
33 /* list specific functions */ |
34 /* list specific functions */ |
34 UcxList *ucx_list_remove(UcxList *l, UcxList *e); |
35 UcxList *ucx_list_remove(UcxList *l, UcxList *e); |
35 |
36 |
36 #ifdef __cplusplus |
37 #ifdef __cplusplus |