wut
v1.7.0
Wii U Toolchain
|
Go to the source code of this file.
Data Structures | |
struct | FSABlockInfo |
Block information. More... | |
struct | FSADeviceInfo |
Device information. More... | |
struct | FSAFileSystemInfo |
File System information. More... | |
struct | FSAProcessInfo |
Process information. More... | |
struct | FSARequestRawOpen |
struct | FSARequestRawClose |
struct | FSARequestRawRead |
struct | FSARequestRawWrite |
struct | FSARequestAppendFile |
Request data for Command::AppendFile. More... | |
struct | FSARequestChangeDir |
Request data for Command::ChangeDir. More... | |
struct | FSARequestChangeMode |
Request data for Command::ChangeMode. More... | |
struct | FSARequestCloseDir |
Request data for Command::CloseDir. More... | |
struct | FSARequestCloseFile |
Request data for Command::CloseFile. More... | |
struct | FSARequestFlushFile |
Request data for Command::FlushFile. More... | |
struct | FSARequestFlushQuota |
Request data for Command::FlushQuota. More... | |
struct | FSARequestGetInfoByQuery |
Request data for Command::GetInfoByQuery. More... | |
struct | FSARequestGetPosFile |
Request data for Command::GetPosFile. More... | |
struct | FSARequestIsEof |
Request data for Command::IsEof. More... | |
struct | FSARequestMakeDir |
Request data for Command::MakeDir. More... | |
struct | FSARequestMakeQuota |
Request data for Command::MakeQuota. More... | |
struct | FSARequestMount |
Request data for Command::Mount. More... | |
struct | FSARequestMountWithProcess |
Request data for Command::MountWithProcess. More... | |
struct | FSARequestOpenDir |
Request data for Command::OpenDir. More... | |
struct | FSARequestOpenFile |
Request data for Command::OpenFile. More... | |
struct | FSARequestReadDir |
Request data for Command::ReadDir. More... | |
struct | FSARequestReadFile |
Request data for Command::ReadFile. More... | |
struct | FSARequestRemove |
Request data for Command::Remove. More... | |
struct | FSARequestRename |
Request data for Command::Rename. More... | |
struct | FSARequestRewindDir |
Request data for Command::RewindDir. More... | |
struct | FSARequestSetPosFile |
Request data for Command::SetPosFile. More... | |
struct | FSARequestStatFile |
Request data for Command::StatFile. More... | |
struct | FSARequestTruncateFile |
Request data for Command::TruncateFile. More... | |
struct | FSARequestUnmount |
Request data for Command::Unmount. More... | |
struct | FSARequestUnmountWithProcess |
Request data for Command::UnmountWithProcess. More... | |
struct | FSARequestWriteFile |
Request data for Command::WriteFile. More... | |
struct | FSARequestChangeOwner |
struct | FSARequest |
struct | FSAResponseRawOpen |
struct | FSAResponseGetCwd |
struct | FSAResponseGetFileBlockAddress |
struct | FSAResponseGetPosFile |
struct | FSAResponseGetVolumeInfo |
struct | FSAResponseGetInfoByQuery |
struct | FSAResponseOpenFile |
struct | FSAResponseOpenDir |
struct | FSAResponseReadDir |
struct | FSAResponseStatFile |
struct | FSAResponse |
struct | FSAAsyncResult |
struct | FSAShimBuffer |
struct | FSAClientAttachAsyncData |
union | FSARequest.__unnamed7__ |
union | FSAResponseGetInfoByQuery.__unnamed9__ |
union | FSAResponse.__unnamed11__ |
Functions | |
FSError | FSAInit () |
void | FSAShutdown () |
uint32_t | FSAGetClientNum () |
FSAClientHandle | FSAAddClient (FSAClientAttachAsyncData *attachAsyncData) |
FSError | FSADelClient (FSAClientHandle client) |
const char * | FSAGetStatusStr (FSError error) |
FSError | __FSAShimDecodeIosErrorToFsaStatus (IOSHandle handle, IOSError err) |
FSError | FSAFlushMultiQuota (FSAClientHandle client, const char *path) |
FSError | FSAFlushQuota (FSAClientHandle client, const char *path) |
FSError | FSAFlushVolume (FSAClientHandle client, const char *path) |
void | FSAFreeAsyncResult (FSAAsyncResult *asyncResult) |
Frees the FSAShimBuffer where the given asyncResult is part of. More... | |
FSAAsyncResult | FSAGetAsyncResult (OSMessage *asyncResult) |
FSError | FSAMount (FSAClientHandle client, const char *source, const char *target, FSAMountFlags flags, void *arg_buf, uint32_t arg_len) |
FSError | FSAUnmount (FSAClientHandle client, const char *mountedTarget, FSAUnmountFlags flags) |
FSError | FSAChangeDir (FSAClientHandle client, const char *path) |
FSError | FSAChangeMode (FSAClientHandle client, const char *path, FSMode permission) |
FSError | FSAOpenFileEx (FSAClientHandle client, const char *path, const char *mode, FSMode createMode, FSOpenFileFlags openFlag, uint32_t preallocSize, FSAFileHandle *outFileHandle) |
FSError | FSAOpenFileByStat (FSAClientHandle client, FSAStat *stat, const char *mode, const char *path, FSAFileHandle *outFileHandle) |
FSError | FSAGetStatFile (FSAClientHandle client, FSAFileHandle fileHandle, FSAStat *stat) |
FSError | FSAGetStat (FSAClientHandle client, const char *path, FSAStat *stat) |
FSError | FSACloseFile (FSAClientHandle client, FSAFileHandle fileHandle) |
FSError | FSAAppendFile (FSAClientHandle client, FSAFileHandle fileHandle, uint32_t size, uint32_t count) |
FSError | FSAAppendFileEx (FSAClientHandle client, FSAFileHandle fileHandle, uint32_t size, uint32_t count, uint32_t flags) |
FSError | FSAGetPosFile (FSAClientHandle client, FSAFileHandle fileHandle, uint32_t *outPos) |
FSError | FSAFlushFile (FSAClientHandle client, FSAFileHandle fileHandle) |
FSError | FSASetPosFile (FSAClientHandle client, FSAFileHandle fileHandle, uint32_t pos) |
FSError | FSATruncateFile (FSAClientHandle client, FSAFileHandle handle) |
FSError | FSAWriteFile (FSAClientHandle client, void *buffer, uint32_t size, uint32_t count, FSAFileHandle handle, uint32_t flags) |
FSError | FSAWriteFileWithPos (FSAClientHandle client, void *buffer, uint32_t size, uint32_t count, uint32_t pos, FSAFileHandle handle, uint32_t flags) |
FSError | FSAIsEof (FSAClientHandle client, FSAFileHandle fileHandle) |
FSError | FSAReadFile (FSAClientHandle client, void *buffer, uint32_t size, uint32_t count, FSAFileHandle handle, uint32_t flags) |
FSError | FSAReadFileWithPos (FSAClientHandle client, void *buffer, uint32_t size, uint32_t count, uint32_t pos, FSAFileHandle handle, uint32_t flags) |
FSError | FSARemove (FSAClientHandle client, const char *path) |
FSError | FSARename (FSAClientHandle client, const char *oldPath, const char *newPath) |
FSError | FSAOpenDir (FSAClientHandle client, const char *path, FSADirectoryHandle *dirHandle) |
FSError | FSAReadDir (FSAClientHandle client, FSADirectoryHandle dirHandle, FSADirectoryEntry *directoryEntry) |
FSError | FSARewindDir (FSAClientHandle client, FSADirectoryHandle dirHandle) |
FSError | FSACloseDir (FSAClientHandle client, FSADirectoryHandle dirHandle) |
FSError | FSAMakeDir (FSAClientHandle client, const char *path, FSMode mode) |
FSError | FSAGetCwd (FSAClientHandle client, char *outPath, uint32_t outPathLen) |
FSError | FSAGetTransactionBlockPoolAttributes (uint32_t *messageSize, uint32_t *poolSize, uint32_t *numMessages) |
FSError | FSAGetVolumeInfo (FSAClientHandle client, const char *path, FSAVolumeInfo *outVolumeInfo) |
FSError | FSAMakeQuota (FSAClientHandle client, const char *name, uint32_t mode, uint64_t quota) |
FSError | FSARegisterFlushQuota (FSAClientHandle client, const char *path) |
FSError | FSARollbackQuota (FSAClientHandle client, const char *path) |
FSError | FSARollbackQuotaForce (FSAClientHandle client, const char *path) |
FSError | FSARollbackVolume (FSAClientHandle client, const char *path) |
FSError | FSAGetFreeSpaceSize (FSAClientHandle client, const char *path, uint64_t *freeSpaceSize) |
FSError | FSAGetJournalFreeSpaceSize (FSAClientHandle client, const char *path, uint64_t *journalFreeSpaceSize) |
FSError | FSAGetDirSize (FSAClientHandle client, const char *path, uint64_t *freeDirSize) |
FSError | FSAGetEntryNum (FSAClientHandle client, const char *path, FSAEntryNum *entryNum) |
FSError | FSAGetFileSystemInfo (FSAClientHandle client, const char *path, FSAFileSystemInfo *fileSystemInfo) |
FSError | FSAGetDeviceInfo (FSAClientHandle client, const char *path, FSADeviceInfo *fileSystemInfo) |
FSError | FSAGetBadBlockInfo (FSAClientHandle client, const char *path, FSABlockInfo *blockInfo) |
FSError | FSAGetFragmentBlockInfo (FSAClientHandle client, const char *path, FSABlockInfo *blockInfo) |
struct FSABlockInfo |
Block information.
Definition at line 86 of file filesystem_fsa.h.
struct FSADeviceInfo |
Device information.
Definition at line 94 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
uint64_t | deviceSizeInSectors | |
uint32_t | deviceSectorSize |
struct FSAFileSystemInfo |
File System information.
Definition at line 107 of file filesystem_fsa.h.
struct FSAProcessInfo |
Process information.
Definition at line 144 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
uint64_t | titleId | |
uint32_t | processId | |
uint32_t | groupId |
struct FSARequestRawOpen |
Definition at line 155 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
char | path[0x280] |
struct FSARequestRawClose |
Definition at line 161 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
int32_t | handle |
struct FSARequestRawRead |
Definition at line 167 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
uint64_t | blocks_offset | |
uint32_t | count | |
uint32_t | size | |
uint32_t | device_handle |
struct FSARequestRawWrite |
Definition at line 180 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
uint64_t | blocks_offset | |
uint32_t | count | |
uint32_t | size | |
uint32_t | device_handle |
struct FSARequestAppendFile |
Request data for Command::AppendFile.
Definition at line 196 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
uint32_t | size | |
uint32_t | count | |
FSAFileHandle | handle | |
uint32_t | unk0x0C |
struct FSARequestChangeDir |
Request data for Command::ChangeDir.
Definition at line 212 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
char | path[FS_MAX_PATH+1] |
struct FSARequestChangeMode |
Request data for Command::ChangeMode.
Definition at line 223 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
char | path[FS_MAX_PATH+1] | |
uint32_t | mode1 | |
uint32_t | mode2 |
struct FSARequestCloseDir |
Request data for Command::CloseDir.
Definition at line 238 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSADirectoryHandle | handle |
struct FSARequestCloseFile |
Request data for Command::CloseFile.
Definition at line 249 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSAFileHandle | handle |
struct FSARequestFlushFile |
Request data for Command::FlushFile.
Definition at line 260 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSAFileHandle | handle |
struct FSARequestFlushQuota |
Request data for Command::FlushQuota.
Definition at line 271 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
char | path[FS_MAX_PATH+1] |
struct FSARequestGetInfoByQuery |
Request data for Command::GetInfoByQuery.
Definition at line 282 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
char | path[FS_MAX_PATH+1] | |
FSAQueryInfoType | type |
struct FSARequestGetPosFile |
Request data for Command::GetPosFile.
Definition at line 295 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSAFileHandle | handle |
struct FSARequestIsEof |
Request data for Command::IsEof.
Definition at line 306 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSAFileHandle | handle |
struct FSARequestMakeDir |
Request data for Command::MakeDir.
Definition at line 317 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
char | path[FS_MAX_PATH+1] | |
uint32_t | permission |
struct FSARequestMakeQuota |
Request data for Command::MakeQuota.
Definition at line 329 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
char | path[FS_MAX_PATH+1] | |
uint32_t | mode | |
uint64_t | size |
struct FSARequestMount |
Request data for Command::Mount.
Definition at line 344 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
char | path[FS_MAX_PATH+1] | |
char | target[FS_MAX_PATH+1] | |
uint32_t | unk0x500 | |
void * | unkBuf | |
uint32_t | unkBufLen |
struct FSARequestMountWithProcess |
Request data for Command::MountWithProcess.
Definition at line 363 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
char | path[FS_MAX_PATH+1] | |
char | target[FS_MAX_PATH+1] | |
FSAMountPriority | priority | |
FSAProcessInfo | process | |
void * | unkBuf | |
uint32_t | unkBufLen |
struct FSARequestOpenDir |
Request data for Command::OpenDir.
Definition at line 384 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
char | path[FS_MAX_PATH+1] |
struct FSARequestOpenFile |
Request data for Command::OpenFile.
Definition at line 394 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
char | path[FS_MAX_PATH+1] | |
char | mode[FS_MODE_LENGTH] | |
uint32_t | unk0x290 | |
uint32_t | unk0x294 | |
uint32_t | unk0x298 |
struct FSARequestReadDir |
Request data for Command::ReadDir.
Definition at line 413 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSADirectoryHandle | handle |
struct FSARequestReadFile |
Request data for Command::ReadFile.
Definition at line 424 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
uint8_t * | buffer | Virtual pointer used only by Cafe, for IOS we should use ioctlv.vecs[1]. |
uint32_t | size | |
uint32_t | count | |
FSAFilePosition | pos | |
FSAFileHandle | handle | |
FSAReadFlag | readFlags |
struct FSARequestRemove |
Request data for Command::Remove.
Definition at line 446 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
char | path[FS_MAX_PATH+1] |
struct FSARequestRename |
Request data for Command::Rename.
Definition at line 457 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
char | oldPath[FS_MAX_PATH+1] | |
char | newPath[FS_MAX_PATH+1] |
struct FSARequestRewindDir |
Request data for Command::RewindDir.
Definition at line 470 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSADirectoryHandle | handle |
struct FSARequestSetPosFile |
Request data for Command::SetPosFile.
Definition at line 481 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSAFileHandle | handle | |
FSAFilePosition | pos |
struct FSARequestStatFile |
Request data for Command::StatFile.
Definition at line 494 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSAFileHandle | handle |
struct FSARequestTruncateFile |
Request data for Command::TruncateFile.
Definition at line 505 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSAFileHandle | handle |
struct FSARequestUnmount |
Request data for Command::Unmount.
Definition at line 516 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
char | path[FS_MAX_PATH+1] | |
uint32_t | unk0x280 |
struct FSARequestUnmountWithProcess |
Request data for Command::UnmountWithProcess.
Definition at line 529 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
char | path[FS_MAX_PATH+1] | |
FSAMountPriority | priority | |
FSAProcessInfo | process |
struct FSARequestWriteFile |
Request data for Command::WriteFile.
Definition at line 544 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
const uint8_t * | buffer | Virtual pointer used only by Cafe, for IOS we should use ioctlv.vecs[1]. |
uint32_t | size | |
uint32_t | count | |
FSAFilePosition | pos | |
FSAFileHandle | handle | |
FSAWriteFlag | writeFlags |
struct FSARequestChangeOwner |
Definition at line 562 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
char | path[FS_MAX_PATH+1] | |
uint32_t | owner | |
uint32_t | group |
struct FSARequest |
Definition at line 575 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSError | emulatedError | |
union FSARequest | __unnamed__ |
struct FSAResponseRawOpen |
Definition at line 619 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
int | handle |
struct FSAResponseGetCwd |
Definition at line 625 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
char | path[FS_MAX_PATH+1] |
struct FSAResponseGetFileBlockAddress |
Definition at line 632 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
uint32_t | address |
struct FSAResponseGetPosFile |
Definition at line 639 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSAFilePosition | pos |
struct FSAResponseGetVolumeInfo |
Definition at line 646 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSAVolumeInfo | volumeInfo |
struct FSAResponseGetInfoByQuery |
Definition at line 653 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
union FSAResponseGetInfoByQuery | __unnamed__ |
struct FSAResponseOpenFile |
Definition at line 678 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSAFileHandle | handle |
struct FSAResponseOpenDir |
Definition at line 685 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSADirectoryHandle | handle |
struct FSAResponseReadDir |
Definition at line 692 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSADirectoryEntry | entry |
struct FSAResponseStatFile |
Definition at line 699 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSAStat | stat |
struct FSAResponse |
Definition at line 706 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
uint32_t | word0 | |
union FSAResponse | __unnamed__ |
struct FSAAsyncResult |
Definition at line 799 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
OSMessageQueue * | ioMsgQueue | Queue to put a message on when command is complete. |
FSMessage | msg | Message used for ioMsgQueue. |
FSAAsyncCallbackFn | userCallback | Callback to call when the command is complete. |
FSError | error | Result. |
FSACommand | command | FSA command. |
FSARequest * | request | Pointer to allocated FSA IPC Request. |
FSAResponse * | response | Pointer to allocated FSA IPC Response. |
void * | userContext | Callback to call when the command is complete. |
struct FSAShimBuffer |
Definition at line 834 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSARequest | request | Buffer for FSA IPC request. |
FSAResponse | response | Buffer for FSA IPC response. |
IOSVec | ioctlvVec[3] | Memory to use for ioctlv calls, unknown maximum count - but at least 3. |
FSACommand | command | Command for FSA. |
uint32_t | clientHandle | Handle to FSA device. |
FSAIpcRequestType | ipcReqType | IOS IPC request type to use. |
uint8_t | ioctlvVecIn | Number of ioctlv input vectors. |
uint8_t | ioctlvVecOut | Number of ioctlv output vectors. |
FSAAsyncResult | fsaAsyncResult | FSAAsyncResult used for FSA* functions. |
struct FSAClientAttachAsyncData |
Definition at line 883 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSAClientAttachAsyncCallbackFn | userCallback | Callback to call when an attach has happened. |
void * | userContext | Callback context. |
OSMessageQueue * | ioMsgQueue | Queue to put a message on when command is complete. |
union FSARequest.__unnamed7__ |
Definition at line 578 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSARequestRawOpen | rawOpen | |
FSARequestRawClose | rawClose | |
FSARequestRawRead | rawRead | |
FSARequestRawWrite | rawWrite | |
FSARequestAppendFile | appendFile | |
FSARequestChangeDir | changeDir | |
FSARequestChangeMode | changeMode | |
FSARequestCloseDir | closeDir | |
FSARequestCloseFile | closeFile | |
FSARequestFlushFile | flushFile | |
FSARequestFlushQuota | flushQuota | |
FSARequestGetInfoByQuery | getInfoByQuery | |
FSARequestGetPosFile | getPosFile | |
FSARequestIsEof | isEof | |
FSARequestMakeDir | makeDir | |
FSARequestMakeQuota | makeQuota | |
FSARequestMount | mount | |
FSARequestMountWithProcess | mountWithProcess | |
FSARequestOpenDir | openDir | |
FSARequestOpenFile | openFile | |
FSARequestReadDir | readDir | |
FSARequestReadFile | readFile | |
FSARequestRemove | remove | |
FSARequestRename | rename | |
FSARequestRewindDir | rewindDir | |
FSARequestSetPosFile | setPosFile | |
FSARequestStatFile | statFile | |
FSARequestTruncateFile | truncateFile | |
FSARequestUnmount | unmount | |
FSARequestUnmountWithProcess | unmountWithProcess | |
FSARequestWriteFile | writeFile | |
FSARequestChangeOwner | changeOwner |
union FSAResponseGetInfoByQuery.__unnamed9__ |
Definition at line 655 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSABlockInfo | badBlockInfo | |
FSADeviceInfo | deviceInfo | |
uint64_t | dirSize | |
FSAEntryNum | entryNum | |
FSAFileSystemInfo | fileSystemInfo | |
FSABlockInfo | fragmentBlockInfo | |
uint64_t | freeSpaceSize | |
uint64_t | journalFreeSpaceSize | |
FSAStat | stat |
union FSAResponse.__unnamed11__ |
Definition at line 708 of file filesystem_fsa.h.
Data Fields | ||
---|---|---|
FSAResponseRawOpen | rawOpen | |
FSAResponseGetCwd | getCwd | |
FSAResponseGetFileBlockAddress | getFileBlockAddress | |
FSAResponseGetPosFile | getPosFile | |
FSAResponseGetVolumeInfo | getVolumeInfo | |
FSAResponseGetInfoByQuery | getInfoByQuery | |
FSAResponseOpenDir | openDir | |
FSAResponseOpenFile | openFile | |
FSAResponseReadDir | readDir | |
FSAResponseStatFile | statFile |
typedef uint32_t FSACommand |
Definition at line 10 of file filesystem_fsa.h.
typedef uint16_t FSAIpcRequestType |
Definition at line 11 of file filesystem_fsa.h.
typedef IOSHandle FSAClientHandle |
Definition at line 12 of file filesystem_fsa.h.
typedef uint32_t FSAFileHandle |
Definition at line 13 of file filesystem_fsa.h.
typedef uint32_t FSADirectoryHandle |
Definition at line 14 of file filesystem_fsa.h.
typedef uint32_t FSAEntryNum |
Definition at line 15 of file filesystem_fsa.h.
typedef FSDirectoryEntry FSADirectoryEntry |
Definition at line 16 of file filesystem_fsa.h.
Definition at line 17 of file filesystem_fsa.h.
typedef uint32_t FSAFilePosition |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSAProcessInfo FSAProcessInfo |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestRawOpen FSARequestRawOpen |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestRawClose FSARequestRawClose |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestRawRead FSARequestRawRead |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestRawWrite FSARequestRawWrite |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestAppendFile FSARequestAppendFile |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestChangeDir FSARequestChangeDir |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestChangeMode FSARequestChangeMode |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestCloseDir FSARequestCloseDir |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestCloseFile FSARequestCloseFile |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestFlushFile FSARequestFlushFile |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestFlushQuota FSARequestFlushQuota |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestGetInfoByQuery FSARequestGetInfoByQuery |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestGetPosFile FSARequestGetPosFile |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestIsEof FSARequestIsEof |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestMakeDir FSARequestMakeDir |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestMakeQuota FSARequestMakeQuota |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestMount FSARequestMount |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestMountWithProcess FSARequestMountWithProcess |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestOpenDir FSARequestOpenDir |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestOpenFile FSARequestOpenFile |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestReadDir FSARequestReadDir |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestReadFile FSARequestReadFile |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestRemove FSARequestRemove |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestRename FSARequestRename |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestRewindDir FSARequestRewindDir |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestSetPosFile FSARequestSetPosFile |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestStatFile FSARequestStatFile |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestTruncateFile FSARequestTruncateFile |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestUnmount FSARequestUnmount |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestUnmountWithProcess FSARequestUnmountWithProcess |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestWriteFile FSARequestWriteFile |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequestChangeOwner FSARequestChangeOwner |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSARequest FSARequest |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSAResponseRawOpen FSAResponseRawOpen |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSAResponseGetCwd FSAResponseGetCwd |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSAResponseGetFileBlockAddress FSAResponseGetFileBlockAddress |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSAResponseGetPosFile FSAResponseGetPosFile |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSAResponseGetVolumeInfo FSAResponseGetVolumeInfo |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSAResponseGetInfoByQuery FSAResponseGetInfoByQuery |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSAResponseOpenDir FSAResponseOpenDir |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSAResponseOpenFile FSAResponseOpenFile |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSAResponseReadDir FSAResponseReadDir |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSAResponseStatFile FSAResponseStatFile |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSAResponse FSAResponse |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSAAsyncResult FSAAsyncResult |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSAShimBuffer FSAShimBuffer |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSAClientAttachAsyncData FSAClientAttachAsyncData |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSABlockInfo FSABlockInfo |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSADeviceInfo FSADeviceInfo |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSAFileSystemInfo FSAFileSystemInfo |
Definition at line 18 of file filesystem_fsa.h.
typedef struct FSVolumeInfo FSAVolumeInfo |
Definition at line 18 of file filesystem_fsa.h.
typedef void(* FSAAsyncCallbackFn) (FSError result, FSACommand command, FSARequest *request, FSAResponse *response, void *userContext) |
Definition at line 77 of file filesystem_fsa.h.
typedef enum FSAMountPriority FSAMountPriority |
typedef enum FSAQueryInfoType FSAQueryInfoType |
typedef enum FSAReadFlag FSAReadFlag |
typedef enum FSAWriteFlag FSAWriteFlag |
typedef void(* FSAClientAttachAsyncCallbackFn) (FSError result, FSACommand command, FSARequest *request, FSAResponse *response, void *userContext) |
Definition at line 877 of file filesystem_fsa.h.
typedef enum FSAMountFlags FSAMountFlags |
typedef enum FSAUnmountFlags FSAUnmountFlags |
enum FSAMountPriority |
Enumerator | |
---|---|
FSA_MOUNT_PRIORITY_BASE | |
FSA_MOUNT_PRIORITY_RAM_DISK_CACHE | |
FSA_MOUNT_PRIORITY_TITLE_UPDATE | |
FSA_MOUNT_PRIORITY_UNMOUNT_ALL |
Definition at line 112 of file filesystem_fsa.h.
enum FSAQueryInfoType |
Definition at line 119 of file filesystem_fsa.h.
enum FSAReadFlag |
Enumerator | |
---|---|
FSA_READ_FLAG_NONE | |
FSA_READ_FLAG_READ_WITH_POS |
Definition at line 131 of file filesystem_fsa.h.
enum FSAWriteFlag |
Enumerator | |
---|---|
FSA_WRITE_FLAG_NONE | |
FSA_WRITE_FLAG_READ_WITH_POS |
Definition at line 136 of file filesystem_fsa.h.
enum FSACommandEnum |
Definition at line 726 of file filesystem_fsa.h.
Enumerator | |
---|---|
FSA_IPC_REQUEST_IOCTL | |
FSA_IPC_REQUEST_IOCTLV |
Definition at line 794 of file filesystem_fsa.h.
enum FSAMountFlags |
Enumerator | |
---|---|
FSA_MOUNT_FLAG_LOCAL_MOUNT | |
FSA_MOUNT_FLAG_BIND_MOUNT | |
FSA_MOUNT_FLAG_GLOBAL_MOUNT |
Definition at line 898 of file filesystem_fsa.h.
enum FSAUnmountFlags |
Enumerator | |
---|---|
FSA_UNMOUNT_FLAG_NONE | |
FSA_UNMOUNT_FLAG_FORCE | |
FSA_UNMOUNT_FLAG_BIND_MOUNT |
Definition at line 904 of file filesystem_fsa.h.
FSError FSAInit | ( | ) |
void FSAShutdown | ( | ) |
uint32_t FSAGetClientNum | ( | ) |
FSAClientHandle FSAAddClient | ( | FSAClientAttachAsyncData * | attachAsyncData | ) |
FSError FSADelClient | ( | FSAClientHandle | client | ) |
const char* FSAGetStatusStr | ( | FSError | error | ) |
FSError FSAFlushMultiQuota | ( | FSAClientHandle | client, |
const char * | path | ||
) |
FSError FSAFlushQuota | ( | FSAClientHandle | client, |
const char * | path | ||
) |
FSError FSAFlushVolume | ( | FSAClientHandle | client, |
const char * | path | ||
) |
void FSAFreeAsyncResult | ( | FSAAsyncResult * | asyncResult | ) |
Frees the FSAShimBuffer where the given asyncResult is part of.
asyncResult |
FSAAsyncResult FSAGetAsyncResult | ( | OSMessage * | asyncResult | ) |
FSError FSAMount | ( | FSAClientHandle | client, |
const char * | source, | ||
const char * | target, | ||
FSAMountFlags | flags, | ||
void * | arg_buf, | ||
uint32_t | arg_len | ||
) |
FSError FSAUnmount | ( | FSAClientHandle | client, |
const char * | mountedTarget, | ||
FSAUnmountFlags | flags | ||
) |
FSError FSAChangeDir | ( | FSAClientHandle | client, |
const char * | path | ||
) |
FSError FSAChangeMode | ( | FSAClientHandle | client, |
const char * | path, | ||
FSMode | permission | ||
) |
FSError FSAOpenFileEx | ( | FSAClientHandle | client, |
const char * | path, | ||
const char * | mode, | ||
FSMode | createMode, | ||
FSOpenFileFlags | openFlag, | ||
uint32_t | preallocSize, | ||
FSAFileHandle * | outFileHandle | ||
) |
FSError FSAOpenFileByStat | ( | FSAClientHandle | client, |
FSAStat * | stat, | ||
const char * | mode, | ||
const char * | path, | ||
FSAFileHandle * | outFileHandle | ||
) |
FSError FSAGetStatFile | ( | FSAClientHandle | client, |
FSAFileHandle | fileHandle, | ||
FSAStat * | stat | ||
) |
FSError FSAGetStat | ( | FSAClientHandle | client, |
const char * | path, | ||
FSAStat * | stat | ||
) |
FSError FSACloseFile | ( | FSAClientHandle | client, |
FSAFileHandle | fileHandle | ||
) |
FSError FSAAppendFile | ( | FSAClientHandle | client, |
FSAFileHandle | fileHandle, | ||
uint32_t | size, | ||
uint32_t | count | ||
) |
FSError FSAAppendFileEx | ( | FSAClientHandle | client, |
FSAFileHandle | fileHandle, | ||
uint32_t | size, | ||
uint32_t | count, | ||
uint32_t | flags | ||
) |
FSError FSAGetPosFile | ( | FSAClientHandle | client, |
FSAFileHandle | fileHandle, | ||
uint32_t * | outPos | ||
) |
FSError FSAFlushFile | ( | FSAClientHandle | client, |
FSAFileHandle | fileHandle | ||
) |
FSError FSASetPosFile | ( | FSAClientHandle | client, |
FSAFileHandle | fileHandle, | ||
uint32_t | pos | ||
) |
FSError FSATruncateFile | ( | FSAClientHandle | client, |
FSAFileHandle | handle | ||
) |
FSError FSAWriteFile | ( | FSAClientHandle | client, |
void * | buffer, | ||
uint32_t | size, | ||
uint32_t | count, | ||
FSAFileHandle | handle, | ||
uint32_t | flags | ||
) |
FSError FSAWriteFileWithPos | ( | FSAClientHandle | client, |
void * | buffer, | ||
uint32_t | size, | ||
uint32_t | count, | ||
uint32_t | pos, | ||
FSAFileHandle | handle, | ||
uint32_t | flags | ||
) |
FSError FSAIsEof | ( | FSAClientHandle | client, |
FSAFileHandle | fileHandle | ||
) |
FSError FSAReadFile | ( | FSAClientHandle | client, |
void * | buffer, | ||
uint32_t | size, | ||
uint32_t | count, | ||
FSAFileHandle | handle, | ||
uint32_t | flags | ||
) |
FSError FSAReadFileWithPos | ( | FSAClientHandle | client, |
void * | buffer, | ||
uint32_t | size, | ||
uint32_t | count, | ||
uint32_t | pos, | ||
FSAFileHandle | handle, | ||
uint32_t | flags | ||
) |
FSError FSARemove | ( | FSAClientHandle | client, |
const char * | path | ||
) |
FSError FSARename | ( | FSAClientHandle | client, |
const char * | oldPath, | ||
const char * | newPath | ||
) |
FSError FSAOpenDir | ( | FSAClientHandle | client, |
const char * | path, | ||
FSADirectoryHandle * | dirHandle | ||
) |
FSError FSAReadDir | ( | FSAClientHandle | client, |
FSADirectoryHandle | dirHandle, | ||
FSADirectoryEntry * | directoryEntry | ||
) |
FSError FSARewindDir | ( | FSAClientHandle | client, |
FSADirectoryHandle | dirHandle | ||
) |
FSError FSACloseDir | ( | FSAClientHandle | client, |
FSADirectoryHandle | dirHandle | ||
) |
FSError FSAMakeDir | ( | FSAClientHandle | client, |
const char * | path, | ||
FSMode | mode | ||
) |
FSError FSAGetCwd | ( | FSAClientHandle | client, |
char * | outPath, | ||
uint32_t | outPathLen | ||
) |
FSError FSAGetTransactionBlockPoolAttributes | ( | uint32_t * | messageSize, |
uint32_t * | poolSize, | ||
uint32_t * | numMessages | ||
) |
FSError FSAGetVolumeInfo | ( | FSAClientHandle | client, |
const char * | path, | ||
FSAVolumeInfo * | outVolumeInfo | ||
) |
FSError FSAMakeQuota | ( | FSAClientHandle | client, |
const char * | name, | ||
uint32_t | mode, | ||
uint64_t | quota | ||
) |
FSError FSARegisterFlushQuota | ( | FSAClientHandle | client, |
const char * | path | ||
) |
FSError FSARollbackQuota | ( | FSAClientHandle | client, |
const char * | path | ||
) |
FSError FSARollbackQuotaForce | ( | FSAClientHandle | client, |
const char * | path | ||
) |
FSError FSARollbackVolume | ( | FSAClientHandle | client, |
const char * | path | ||
) |
FSError FSAGetFreeSpaceSize | ( | FSAClientHandle | client, |
const char * | path, | ||
uint64_t * | freeSpaceSize | ||
) |
FSError FSAGetJournalFreeSpaceSize | ( | FSAClientHandle | client, |
const char * | path, | ||
uint64_t * | journalFreeSpaceSize | ||
) |
FSError FSAGetDirSize | ( | FSAClientHandle | client, |
const char * | path, | ||
uint64_t * | freeDirSize | ||
) |
FSError FSAGetEntryNum | ( | FSAClientHandle | client, |
const char * | path, | ||
FSAEntryNum * | entryNum | ||
) |
FSError FSAGetFileSystemInfo | ( | FSAClientHandle | client, |
const char * | path, | ||
FSAFileSystemInfo * | fileSystemInfo | ||
) |
FSError FSAGetDeviceInfo | ( | FSAClientHandle | client, |
const char * | path, | ||
FSADeviceInfo * | fileSystemInfo | ||
) |
FSError FSAGetBadBlockInfo | ( | FSAClientHandle | client, |
const char * | path, | ||
FSABlockInfo * | blockInfo | ||
) |
FSError FSAGetFragmentBlockInfo | ( | FSAClientHandle | client, |
const char * | path, | ||
FSABlockInfo * | blockInfo | ||
) |