Lines Matching refs:FSArchive
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 …FSResult (*FindPath)(struct FSArchive*, u32 base_dir_id, const char *path, u32 *target_id, BOOL ta…
46 …FSResult (*GetPath)(struct FSArchive*, struct FSFile*, BOOL is_directory, char *buffer, u32 *lengt…
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 …FSResult (*OpenFile)(struct FSArchive*, struct FSFile*, u32 base_dir_id, const char *path, u32 mod…
56 FSResult (*SeekFile)(struct FSArchive*, struct FSFile*, int *offset, FSSeekFileMode from);
57 FSResult (*GetFileLength)(struct FSArchive*, struct FSFile*, u32 *length);
58 FSResult (*GetFilePosition)(struct FSArchive*, struct FSFile*, u32 *position);
60 void (*Mount)(struct FSArchive*);
61 void (*Unmount)(struct FSArchive*);
62 FSResult (*GetArchiveCaps)(struct FSArchive*, u32 *caps);
63 FSResult (*CreateFile)(struct FSArchive*, u32 baseid, const char *relpath, u32 permit);
64 FSResult (*DeleteFile)(struct FSArchive*, u32 baseid, const char *relpath);
65 …FSResult (*RenameFile)(struct FSArchive*, u32 baseid_src, const char *relpath_src, u32 baseid_dst,…
66 FSResult (*GetPathInfo)(struct FSArchive*, u32 baseid, const char *relpath, FSPathInfo *info);
67 FSResult (*SetPathInfo)(struct FSArchive*, u32 baseid, const char *relpath, FSPathInfo *info);
68 FSResult (*CreateDirectory)(struct FSArchive*, u32 baseid, const char *relpath, u32 permit);
69 FSResult (*DeleteDirectory)(struct FSArchive*, u32 baseid, const char *relpath);
70 …FSResult (*RenameDirectory)(struct FSArchive*, u32 baseid, const char *relpath_src, u32 baseid_dst…
71 FSResult (*GetArchiveResource)(struct FSArchive*, FSArchiveResource *resource);
73 FSResult (*FlushFile)(struct FSArchive*, struct FSFile*);
74 FSResult (*SetFileLength)(struct FSArchive*, struct FSFile*, u32 length);
75 …FSResult (*OpenDirectory)(struct FSArchive*, struct FSFile*, u32 base_dir_id, const char *path, u3…
76 FSResult (*CloseDirectory)(struct FSArchive*, struct FSFile*);
77 FSResult (*SetSeekCache)(struct FSArchive*, struct FSFile*, void* buf, u32 buf_size);
86 typedef struct FSArchive struct
98 struct FSArchive *next; // Archive registration list argument
115 FSArchive; argument
118 SDK_COMPILER_ASSERT(sizeof(FSArchive) == 92);
135 FSArchive *FS_FindArchive(const char *name, int name_len);
150 FSArchive* FS_NormalizePath(const char *path, u32 *baseid, char *relpath);
172 SDK_INLINE FSCommandType FS_GetLastArchiveCommand(const FSArchive *arc) in FS_GetLastArchiveCommand()
210 void FS_InitArchive(FSArchive *arc);
221 const char *FS_GetArchiveName(const FSArchive *arc);
232 SDK_INLINE BOOL FS_IsArchiveLoaded(volatile const FSArchive *arc) in FS_IsArchiveLoaded()
246 SDK_INLINE BOOL FS_IsArchiveSuspended(volatile const FSArchive *arc) in FS_IsArchiveSuspended()
260 SDK_INLINE void* FS_GetArchiveUserData(const FSArchive *arc) in FS_GetArchiveUserData()
278 BOOL FS_RegisterArchiveName(FSArchive *arc, const char *name, u32 name_len);
289 void FS_ReleaseArchiveName(FSArchive *arc);
304 BOOL FS_MountArchive(FSArchive *arc, void *userdata,
316 BOOL FS_UnmountArchive(FSArchive *arc);
328 BOOL FS_SuspendArchive(FSArchive *arc);
339 BOOL FS_ResumeArchive(FSArchive *arc);
352 void FS_NotifyArchiveAsyncEnd(FSArchive *arc, FSResult ret);