home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / CMDS / mtools_3.6.src.lzh / MTOOLS_3.6 / fs.h < prev    next >
Text File  |  1997-11-12  |  476b  |  26 lines

  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.     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.  
  25. #endif
  26.