2 GEOS filesystem functions
4 by Maciej 'YTM/Elysium' Witkowiak
11 #include <geos/gstruct.h>
14 struct filehandle *Get1stDirEntry(void);
15 struct filehandle *GetNxtDirEntry(void);
17 char __fastcall__ FindFTypes(char *buffer, char ftype, char fmaxnum, const char *classtxt);
19 char __fastcall__ GetFile(char flag, const char *fname,
20 const char *loadaddr, const char *datadname, const char *datafname);
21 char __fastcall__ FindFile(const char *fname);
22 char __fastcall__ ReadFile(struct tr_se *myTrSe, char *buffer, unsigned flength);
23 char __fastcall__ SaveFile(char skip, struct fileheader *myHeader);
24 char __fastcall__ FreeFile(struct tr_se myTable[]);
25 char __fastcall__ DeleteFile(const char *fname);
26 char __fastcall__ RenameFile(const char *source, const char *target);
30 char __fastcall__ FollowChain(struct tr_se *startTrSe, char *buffer);
31 char __fastcall__ GetFHdrInfo(struct filehandle *myFile);
33 char __fastcall__ OpenRecordFile(const char *fname);
34 char CloseRecordFile(void);
35 char NextRecord(void);
36 char PreviousRecord(void);
37 char __fastcall__ PointRecord(char);
38 char DeleteRecord(void);
39 char InsertRecord(void);
40 char AppendRecord(void);
41 char __fastcall__ ReadRecord(char *buffer, unsigned flength);
42 char __fastcall__ WriteRecord(const char *buffer, unsigned flength);
43 char UpdateRecordFile(void);
56 #define INPUT_DEVICE 10
57 #define DISK_DEVICE 11
58 #define SYSTEM_BOOT 12
62 #define NUMFILETYPES 16
63 /* supported structures */