15 lines
258 B
C
15 lines
258 B
C
#ifndef FILE_H_
|
|
#define FILE_H_
|
|
|
|
typedef struct file {
|
|
char *name;
|
|
// put some more useful stat here
|
|
struct file *next;
|
|
} file;
|
|
|
|
long files_len();
|
|
long add_file(char *filename);
|
|
file *get_file(long index);
|
|
char *get_filename(long index);
|
|
|
|
#endif
|