summaryrefslogtreecommitdiff
path: root/src/sp_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp_list.h')
-rw-r--r--src/sp_list.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/sp_list.h b/src/sp_list.h
index 8477463..6b04486 100644
--- a/src/sp_list.h
+++ b/src/sp_list.h
@@ -3,16 +3,14 @@
3 3
4typedef struct sp_node_s { 4typedef struct sp_node_s {
5 struct sp_node_s *next; 5 struct sp_node_s *next;
6 struct sp_node_s *head;
7 void *data; 6 void *data;
8 7
9} sp_list_node; 8} sp_list_node;
10 9
11sp_list_node *sp_list_new();
12sp_list_node *sp_list_sort(sp_list_node *, 10sp_list_node *sp_list_sort(sp_list_node *,
13 int (*)(sp_list_node *, sp_list_node *)); 11 int (*)(sp_list_node *, sp_list_node *));
14void sp_list_insert(sp_list_node *, void *); 12sp_list_node *sp_list_insert(sp_list_node *, void *);
13sp_list_node *sp_list_prepend(sp_list_node *, void *);
15void sp_list_free(sp_list_node *); 14void sp_list_free(sp_list_node *);
16void sp_list_prepend(sp_list_node *, void *);
17 15
18#endif 16#endif