aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThorsten Töpper <atsutane@freethoughts.de>2025-06-21 16:39:59 +0200
committerThorsten Töpper <atsutane@freethoughts.de>2025-06-21 16:39:59 +0200
commit744eb2a2a571fa21a5524812b60ca8ebf9a65fe8 (patch)
treefde901cff5ecb54c01cfe972bc0ee360548ca1d9 /include
parent548c43810fc07ea220b01c02baa4facff7a1d3ed (diff)
downloaddir_monitor-744eb2a2a571fa21a5524812b60ca8ebf9a65fe8.tar.gz
dir_monitor-744eb2a2a571fa21a5524812b60ca8ebf9a65fe8.tar.bz2
Move data collection to other source
Diffstat (limited to 'include')
-rw-r--r--include/list_management.h2
1 files changed, 2 insertions, 0 deletions
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);