th/backend.h
2025-02-26 22:19:32 +01:00

9 lines
300 B
C

#include <curses.h>
#include "backend.c"
void get_dir_size(char *path, unsigned long *file_count, unsigned long *longest_name, char show_hidden);
void get_dir_content(char *path, char **dir_content, char show_hidden);
void print_dir(WINDOW *win, char **dir_content);
void *populate_dir(void *dir);