22 |
|
#define LIST_DATA(l) ((l)->d) |
23 |
|
#define SET_LIST_NEXT(l,d) ((l)->next = (d)) |
24 |
|
#define SET_LIST_DATA(l,id) ((l)->d = (int)(id)) |
25 |
+ |
|
26 |
|
/* |
27 |
|
LIST *new_list(void); |
28 |
|
LIST *free_list(LIST *l); |
29 |
|
LIST *append_list(LIST *a, LIST *b); |
30 |
< |
LIST *push_data(LIST *l,int d); |
30 |
> |
|
31 |
|
int pop_data(LIST **l); |
32 |
|
LIST *add_data_to_circular_list(LIST *l,LIST **end,int d) |
33 |
|
int remove_from_list(int d,LIST **list) |
35 |
|
LIST *new_list(); |
36 |
|
LIST *free_list(); |
37 |
|
LIST *append_list(); |
37 |
– |
LIST *push_data(); |
38 |
|
int pop_data(); |
39 |
+ |
LIST *push_data(); |
40 |
|
LIST *add_data_to_circular_list(); |
41 |
|
int remove_from_list(); |
42 |
< |
|
42 |
> |
LIST *add_data(); |
43 |
|
|
44 |
|
|
45 |
|
|