+*) 2004-06-26
+
+ - begin list api
+
*) 2004-06-24
- initial checkin: audio, display, event, input, network
--- /dev/null
+/* 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
--- /dev/null
+/* list.h -- list headers */
+
+#include <stdio.h>
+
+
+#define SINGLE 'S'
+#define DOUBLE 'D'
+
+typedef struct s_list_element {
+ struct s_list_element *next;
+ void *data;
+ int number;
+} t_list_element;
+
+typedef struct s_list {
+ t_list_element start;
+} t_list;