ucx/list.h

changeset 27
22644e2572bc
parent 26
59f147baea31
child 35
fdabd1240b69
equal deleted inserted replaced
26:59f147baea31 27:22644e2572bc
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);
32 31
33 /* list specific functions */ 32 /* list specific functions */
34 UcxList *ucx_list_remove(UcxList *l, UcxList *e); 33 UcxList *ucx_list_remove(UcxList *l, UcxList *e);
35 34
36 #ifdef __cplusplus 35 #ifdef __cplusplus

mercurial