src/server/ucx/list.h

changeset 36
450d2d5f4735
parent 16
a9bbd82d2dce
child 71
069c152f6272
--- a/src/server/ucx/list.h	Sat Aug 18 11:39:34 2012 +0200
+++ b/src/server/ucx/list.h	Sat Oct 06 13:00:07 2012 +0200
@@ -1,5 +1,5 @@
 /*
- *
+ * 
  */
 
 #ifndef LIST_H
@@ -11,7 +11,7 @@
 #ifdef	__cplusplus
 extern "C" {
 #endif
-
+    
 typedef struct UcxList UcxList;
 struct UcxList {
     void    *data;
@@ -28,7 +28,8 @@
 UcxList *ucx_list_last(UcxList *l);
 UcxList *ucx_list_get(UcxList *l, int index);
 size_t ucx_list_size(UcxList *l);
-void ucx_list_foreach(UcxList *l, ucx_callback fnc, void *data);
+
+UcxList *ucx_list_sort(UcxList *l, cmp_func fnc, void *data);
 
 /* list specific functions */
 UcxList *ucx_list_remove(UcxList *l, UcxList *e);

mercurial