Rev | Line | |
---|
[9] | 1 | #ifndef MTOOLS_FS_H
|
---|
| 2 | #define MTOOLS_FS_H
|
---|
| 3 |
|
---|
| 4 | #include "stream.h"
|
---|
| 5 |
|
---|
| 6 |
|
---|
| 7 | typedef struct FsPublic_t {
|
---|
| 8 | Class_t *Class;
|
---|
| 9 | int refs;
|
---|
| 10 | Stream_t *Next;
|
---|
| 11 | Stream_t *Buffer;
|
---|
| 12 |
|
---|
| 13 | int serialized;
|
---|
| 14 | unsigned long serial_number;
|
---|
| 15 | int cluster_size;
|
---|
| 16 | unsigned int sector_size;
|
---|
| 17 | } FsPublic_t;
|
---|
| 18 |
|
---|
| 19 | Stream_t *fs_init(char *drive, int mode);
|
---|
| 20 | int fat_free(Stream_t *Dir, unsigned int fat);
|
---|
| 21 | int fatFreeWithDir(Stream_t *Dir, struct directory *dir);
|
---|
| 22 | int fat_error(Stream_t *Dir);
|
---|
| 23 | int fat32RootCluster(Stream_t *Dir);
|
---|
| 24 | char *getDrive(Stream_t *Stream);
|
---|
| 25 |
|
---|
| 26 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.