aboutsummaryrefslogtreecommitdiff
path: root/src/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/list.h')
-rw-r--r--src/list.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/list.h b/src/list.h
new file mode 100644
index 0000000..083e239
--- /dev/null
+++ b/src/list.h
@@ -0,0 +1,16 @@
+#ifndef _LIST_H_
+#define _LIST_H_
+
+typedef struct list_t {
+ void* data;
+ struct List* next;
+ struct List* first;
+ struct List* current;
+ int size;
+} List;
+
+List* List_Create(void);
+void List_Add (List*, void*, int);
+void List_Remove();
+
+#endif