10 lines
409 B
C
10 lines
409 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 sort_dir(unsigned long *file_count, unsigned long *longest_name, char **dir_content);
|
|
void *populate_dir(void *dir);
|