begin list api
[my-code/api.git] / list / list.c
diff --git a/list/list.c b/list/list.c
new file mode 100644 (file)
index 0000000..681db53
--- /dev/null
@@ -0,0 +1,12 @@
+/* list.c -- list management szuff
+ *
+ * author: hackbard@hackdaworld.dyndns.org
+ *
+ */
+
+#include "list.h"
+
+int list_init(t_list *list) {
+
+  if(list->type==SINGLE) {
+    list->start