begin list api
[my-code/api.git] / list / list.h
1 /* list.h -- list headers */
2
3 #include <stdio.h>
4
5
6 #define SINGLE 'S'
7 #define DOUBLE 'D'
8
9 typedef struct s_list_element {
10         struct s_list_element *next;
11         void *data;
12         int number;
13 } t_list_element;
14
15 typedef struct s_list {
16         t_list_element start;
17 } t_list;