diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/data_management.h | 1 | ||||
| -rw-r--r-- | include/options.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/data_management.h b/include/data_management.h index e5d1581..a8d3648 100644 --- a/include/data_management.h +++ b/include/data_management.h @@ -27,6 +27,7 @@ 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_name(struct list_head *list, struct list_node *node); 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); diff --git a/include/options.h b/include/options.h index cfc9246..5e951b2 100644 --- a/include/options.h +++ b/include/options.h @@ -21,7 +21,7 @@ #define PATH_SEP '/' #endif -enum esort_type { SORT_BY_SIZE, SORT_BY_TIME }; +enum esort_type { SORT_BY_NAME, SORT_BY_SIZE, SORT_BY_TIME }; /* === GLOBAL VARIABLES === */ |
