ccc/file.h
night0721 adae6f87fb
make h and l key to navigate different directory
use 2 more window to display content

slight refactor and better variable names
2024-03-12 20:59:36 +00:00

18 lines
335 B
C

#ifndef FILE_H_
#define FILE_H_
typedef struct file {
char *path;
char *stats;
// put some more useful stat here
struct file *next;
} file;
long files_len();
void clear_files();
long add_file(char *filename, char *time);
file *get_file(long index);
char *get_filepath(long index);
char *get_line(long index);
#endif