Lines Matching defs:FSArchiveInterface
38 typedef struct FSArchiveInterface struct
41 FSResult (*ReadFile)(struct FSArchive*, struct FSFile*, void *buffer, u32 *length);
42 FSResult (*WriteFile)(struct FSArchive*, struct FSFile*, const void *buffer, u32 *length);
43 FSResult (*SeekDirectory)(struct FSArchive*, struct FSFile*, u32 id, u32 position);
44 FSResult (*ReadDirectory)(struct FSArchive*, struct FSFile*, FSDirectoryEntryInfo *info);
45 …h)(struct FSArchive*, u32 base_dir_id, const char *path, u32 *target_id, BOOL target_is_directory);
46 …Result (*GetPath)(struct FSArchive*, struct FSFile*, BOOL is_directory, char *buffer, u32 *length);
47 FSResult (*OpenFileFast)(struct FSArchive*, struct FSFile*, u32 id, u32 mode);
48 FSResult (*OpenFileDirect)(struct FSArchive*, struct FSFile*, u32 top, u32 bottom, u32 *id);
49 FSResult (*CloseFile)(struct FSArchive*, struct FSFile*);
50 void (*Activate)(struct FSArchive*);
51 void (*Idle)(struct FSArchive*);
52 void (*Suspend)(struct FSArchive*);
53 void (*Resume)(struct FSArchive*);
55 …Result (*OpenFile)(struct FSArchive*, struct FSFile*, u32 base_dir_id, const char *path, u32 mode);
56 FSResult (*SeekFile)(struct FSArchive*, struct FSFile*, int *offset, FSSeekFileMode from);
57 FSResult (*GetFileLength)(struct FSArchive*, struct FSFile*, u32 *length);
81 FSArchiveInterface; typedef