Tenta ordernar pagamentos
[cascardo/declara.git] / lib / list.h
index 8521518..eb34475 100644 (file)
@@ -30,5 +30,6 @@ int list_insert_ordered(struct list **list, void *val, sort_function_t *fn);
 void * list_get(struct list *list, int pos);
 void list_free(struct list *list, free_function_t *ifree);
 int list_size(struct list *list);
+int list_sort(struct list *list, sort_function_t *fn);
 
 #endif