1 #ifndef FILESCHANGED_LIST_H 2 #define FILESCHANGED_LIST_H 3 #include "node.h" 4 struct list_t 5 { 6 unsigned int count; 7 struct node_t *list; 8 }; 9 int list_init(void **list); 10 int list_add(void *list, struct node_t *node); 11 int list_get_element(void *list, unsigned int element, struct node_t **node); 12 int list_find(void *list, struct node_t *node, struct node_t **found); 13 void list_count(void *list, unsigned int *count); 14 void list_show(void *list); 15 void list_sort(void *list); 16 void list_free(void *list); 17 int list_remove_element(void *list, unsigned int element); 18 #endif 19