projects
/
my-code
/
api.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
output to stder, added list.* api which is still in work
[my-code/api.git]
/
list
/
list.h
diff --git
a/list/list.h
b/list/list.h
index
c500c1a
..
b415f90
100644
(file)
--- a/
list/list.h
+++ b/
list/list.h
@@
-2,9
+2,11
@@
#include <stdio.h>
#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_element {
struct s_list_element *next;
@@
-14,4
+16,6
@@
typedef struct s_list_element {
typedef struct s_list {
t_list_element start;
typedef struct s_list {
t_list_element start;
+ unsigned char method;
+ t_list_element *current;
} t_list;
} t_list;