src/server/ucx/list.h

changeset 16
a9bbd82d2dce
parent 15
cff9c4101dd7
child 36
450d2d5f4735
equal deleted inserted replaced
15:cff9c4101dd7 16:a9bbd82d2dce
1 /* 1 /*
2 * 2 *
3 */ 3 */
4 4
5 #ifndef LIST_H 5 #ifndef LIST_H
6 #define LIST_H 6 #define LIST_H
7 7
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 void ucx_list_foreach(UcxList *l, ucx_callback fnc, void *data);
32 32
33 /* list specific functions */
34 UcxList *ucx_list_remove(UcxList *l, UcxList *e);
33 35
34 #ifdef __cplusplus 36 #ifdef __cplusplus
35 } 37 }
36 #endif 38 #endif
37 39

mercurial