#include <stdio.h>
+#define L_SUCCESS 1
+#define L_ERROR -1
-#define SINGLE 'S'
-#define DOUBLE 'D'
+#define C_NUMBER (1<<0)
+#define C_DATA (1<<1)
typedef struct s_list_element {
struct s_list_element *next;
typedef struct s_list {
t_list_element start;
+ unsigned char method;
+ t_list_element *current;
} t_list;