diff options
Diffstat (limited to 'list.h')
| -rw-r--r-- | list.h | 12 |
1 files changed, 6 insertions, 6 deletions
| @@ -2,13 +2,13 @@ | |||
| 2 | #define LIST_H | 2 | #define LIST_H |
| 3 | 3 | ||
| 4 | typedef struct node { | 4 | typedef struct node { |
| 5 | char* file_path; | 5 | char *file_path; |
| 6 | struct node* next; | 6 | struct node *next; |
| 7 | } Node; | 7 | } Node; |
| 8 | 8 | ||
| 9 | void add_file_path(Node** head, char* file_path); | 9 | void add_file_path(Node **head, char *file_path); |
| 10 | void list_files_recursively(char* base_path, Node** head); | 10 | void list_files_recursively(char *base_path, Node **head); |
| 11 | void free_file_list(Node* head); | 11 | void free_file_list(Node *head); |
| 12 | int size_of_file_list(Node* head); | 12 | int size_of_file_list(Node *head); |
| 13 | 13 | ||
| 14 | #endif | 14 | #endif |
