blob: 24705e14e51309376f782424b4f93504f02afcbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
|