diff options
Diffstat (limited to 'list.h')
| -rw-r--r-- | list.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +#ifndef LIST_H +#define LIST_H + +typedef struct node { + char *file_path; + struct node *next; +} Node; + +void add_file_path(Node **head, char *file_path); +void list_files_recursively(char *base_path, Node **head); +void free_file_list(Node *head); +int size_of_file_list(Node *head); + +#endif |
