Blob
1 #ifndef __LIST_H2 #define __LIST_H4 struct list * list_create_list();5 void list_insert_node(struct list *list, void *content, unsigned int code);6 void list_free_list(struct list *list);7 void list_traverse_list(struct list *list);9 struct list10 {11 struct node *head;12 struct node *tail;13 unsigned int len;14 };16 struct node17 {18 void *content;19 unsigned int code;20 struct node *next;21 struct node *prev;22 };24 #endif