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.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/sp_list.h b/src/sp_list.h
new file mode 100644
index 0000000..48b11f6
--- /dev/null
+++ b/src/sp_list.h
@@ -0,0 +1,15 @@
1#ifndef SP_LIST_H
2#define SP_LIST_H
3
4typedef struct sp_node_s {
5 struct sp_node_s *next;
6 struct sp_node_s *head;
7 void *data;
8
9} sp_node_t;
10
11sp_node_t *sp_new_list();
12void sp_list_insert(sp_node_t *, void *);
13void sp_list_free(sp_node_t *);
14
15#endif