th/backend.h

9 lines
318 B
C

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