From 744eb2a2a571fa21a5524812b60ca8ebf9a65fe8 Mon Sep 17 00:00:00 2001 From: Thorsten Töpper Date: Sat, 21 Jun 2025 16:39:59 +0200 Subject: Move data collection to other source --- include/list_management.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/list_management.h b/include/list_management.h index 9753c13..e5d1581 100644 --- a/include/list_management.h +++ b/include/list_management.h @@ -25,6 +25,8 @@ struct list_head { struct list_node *create_node(char *fname, struct stat *ln_stat); struct list_head *create_list_sort_reversed(struct list_head *list); void destroy_list(struct list_head *list); + +struct list_head *get_data_from_directory(char *path); int insert_sorted_by_size(struct list_head *list, struct list_node *node); int insert_sorted_by_time(struct list_head *list, struct list_node *node); -- cgit v1.2.3-70-g09d2