1 typedef struct list list
;
7 typedef int (*compare_func
)(void* v1
, void* v2
);
10 void push(list
* L
, void* item
);
12 void append(list
* L
, void* item
);
13 void recycle(list
* L
);
14 void print_list(list
* L
, void (*print
)(void* item
));
16 void sort(list
* L
, compare_func cmp
);