summaryrefslogtreecommitdiff
path: root/list.h
blob: c958836baa9c2be576a317a4633f668a650122a9 (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