ccc/file.h

18 lines
315 B
C
Raw Normal View History

#ifndef FILE_H_
#define FILE_H_
typedef struct file {
2024-03-09 20:46:15 +01:00
char *name;
2024-03-11 22:54:14 +01:00
char *stats;
// put some more useful stat here
struct file *next;
} file;
long files_len();
2024-03-11 22:54:14 +01:00
long add_file(char *filename, char *time);
file *get_file(long index);
char *get_filename(long index);
2024-03-11 22:54:14 +01:00
char *get_line(long index);
#endif