aboutsummaryrefslogtreecommitdiff
path: root/src/list.h
diff options
context:
space:
mode:
authoraindros <aindros@hotmail.com>2020-01-08 22:11:47 +0100
committeraindros <aindros@hotmail.com>2020-01-08 22:11:47 +0100
commitd62f358393ba80825bb340a96be789ba314e3960 (patch)
treec4166dede6e543d0e11d5aae260046728172c2d3 /src/list.h
parent50928935b894acb32916bf971d719428cf19ac8c (diff)
downloadutils-d62f358393ba80825bb340a96be789ba314e3960.tar.gz
utils-d62f358393ba80825bb340a96be789ba314e3960.zip
src
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