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