source: trunk/minix/commands/i386/mtools-3.9.7/fs.h@ 10

Last change on this file since 10 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 520 bytes
RevLine 
[9]1#ifndef MTOOLS_FS_H
2#define MTOOLS_FS_H
3
4#include "stream.h"
5
6
7typedef 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
19Stream_t *fs_init(char *drive, int mode);
20int fat_free(Stream_t *Dir, unsigned int fat);
21int fatFreeWithDir(Stream_t *Dir, struct directory *dir);
22int fat_error(Stream_t *Dir);
23int fat32RootCluster(Stream_t *Dir);
24char *getDrive(Stream_t *Stream);
25
26#endif
Note: See TracBrowser for help on using the repository browser.