Start work on filesystem code.
[pintos-anon] / src / filesys / filesys.h
1 #ifndef HEADER_FILESYS_H
2 #define HEADER_FILESYS_H 1
3
4 #include <stdbool.h>
5
6 #ifndef OFF_T
7 #define OFF_T
8 typedef int32_t off_t;
9 #endif
10
11 struct file;
12 void filesys_init (bool format);
13 bool filesys_create (const char *name, off_t initial_size);
14 bool filesys_remove (const char *name);
15 void filesys_list (void);
16
17 void filesys_self_test (void);
18
19 #endif /* filesys.h */