diff options
| author | Thorsten Töpper <atsutane@freethoughts.de> | 2025-06-21 16:39:59 +0200 |
|---|---|---|
| committer | Thorsten Töpper <atsutane@freethoughts.de> | 2025-06-21 16:39:59 +0200 |
| commit | 744eb2a2a571fa21a5524812b60ca8ebf9a65fe8 (patch) | |
| tree | fde901cff5ecb54c01cfe972bc0ee360548ca1d9 /include/list_management.h | |
| parent | 548c43810fc07ea220b01c02baa4facff7a1d3ed (diff) | |
| download | dir_monitor-744eb2a2a571fa21a5524812b60ca8ebf9a65fe8.tar.gz dir_monitor-744eb2a2a571fa21a5524812b60ca8ebf9a65fe8.tar.bz2 | |
Move data collection to other source
Diffstat (limited to 'include/list_management.h')
| -rw-r--r-- | include/list_management.h | 2 |
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); |
