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