16 struct UcxList { |
16 struct UcxList { |
17 void *data; |
17 void *data; |
18 UcxList *next; |
18 UcxList *next; |
19 }; |
19 }; |
20 |
20 |
|
21 void ucx_list_free(UcxList *l); |
21 UcxList *ucx_list_append(UcxList *l, void *data); |
22 UcxList *ucx_list_append(UcxList *l, void *data); |
22 UcxList *ucx_list_prepend(UcxList *l, void *data); |
23 UcxList *ucx_list_prepend(UcxList *l, void *data); |
23 UcxList *ucx_list_concat(UcxList *l1, UcxList *l2); |
24 UcxList *ucx_list_concat(UcxList *l1, UcxList *l2); |
24 UcxList *ucx_list_last(UcxList *l); |
25 UcxList *ucx_list_last(UcxList *l); |
25 UcxList *ucx_list_get(UcxList *l, int index); |
26 UcxList *ucx_list_get(UcxList *l, int index); |