From 1566b6faa8534118c3566188181367cd0868468f Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 9 Nov 2023 23:19:53 +0100 Subject: Added partial matching and introduced threads --- list.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 list.h (limited to 'list.h') diff --git a/list.h b/list.h new file mode 100644 index 0000000..e494cba --- /dev/null +++ b/list.h @@ -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 -- cgit v1.2.3