wut  v1.7.0
Wii U Toolchain
Data Structures | Typedefs | Enumerations | Functions
filesystem_fsa.h File Reference
#include "wut.h"
#include "filesystem.h"
Include dependency graph for filesystem_fsa.h:

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__
 

Typedefs

typedef uint32_t FSACommand
 
typedef uint16_t FSAIpcRequestType
 
typedef IOSHandle FSAClientHandle
 
typedef uint32_t FSAFileHandle
 
typedef uint32_t FSADirectoryHandle
 
typedef uint32_t FSAEntryNum
 
typedef FSDirectoryEntry FSADirectoryEntry
 
typedef FSStat FSAStat
 
typedef uint32_t FSAFilePosition
 
typedef struct FSAProcessInfo FSAProcessInfo
 
typedef struct FSARequestRawOpen FSARequestRawOpen
 
typedef struct FSARequestRawClose FSARequestRawClose
 
typedef struct FSARequestRawRead FSARequestRawRead
 
typedef struct FSARequestRawWrite FSARequestRawWrite
 
typedef struct FSARequestAppendFile FSARequestAppendFile
 
typedef struct FSARequestChangeDir FSARequestChangeDir
 
typedef struct FSARequestChangeMode FSARequestChangeMode
 
typedef struct FSARequestCloseDir FSARequestCloseDir
 
typedef struct FSARequestCloseFile FSARequestCloseFile
 
typedef struct FSARequestFlushFile FSARequestFlushFile
 
typedef struct FSARequestFlushQuota FSARequestFlushQuota
 
typedef struct FSARequestGetInfoByQuery FSARequestGetInfoByQuery
 
typedef struct FSARequestGetPosFile FSARequestGetPosFile
 
typedef struct FSARequestIsEof FSARequestIsEof
 
typedef struct FSARequestMakeDir FSARequestMakeDir
 
typedef struct FSARequestMakeQuota FSARequestMakeQuota
 
typedef struct FSARequestMount FSARequestMount
 
typedef struct FSARequestMountWithProcess FSARequestMountWithProcess
 
typedef struct FSARequestOpenDir FSARequestOpenDir
 
typedef struct FSARequestOpenFile FSARequestOpenFile
 
typedef struct FSARequestReadDir FSARequestReadDir
 
typedef struct FSARequestReadFile FSARequestReadFile
 
typedef struct FSARequestRemove FSARequestRemove
 
typedef struct FSARequestRename FSARequestRename
 
typedef struct FSARequestRewindDir FSARequestRewindDir
 
typedef struct FSARequestSetPosFile FSARequestSetPosFile
 
typedef struct FSARequestStatFile FSARequestStatFile
 
typedef struct FSARequestTruncateFile FSARequestTruncateFile
 
typedef struct FSARequestUnmount FSARequestUnmount
 
typedef struct FSARequestUnmountWithProcess FSARequestUnmountWithProcess
 
typedef struct FSARequestWriteFile FSARequestWriteFile
 
typedef struct FSARequestChangeOwner FSARequestChangeOwner
 
typedef struct FSARequest FSARequest
 
typedef struct FSAResponseRawOpen FSAResponseRawOpen
 
typedef struct FSAResponseGetCwd FSAResponseGetCwd
 
typedef struct FSAResponseGetFileBlockAddress FSAResponseGetFileBlockAddress
 
typedef struct FSAResponseGetPosFile FSAResponseGetPosFile
 
typedef struct FSAResponseGetVolumeInfo FSAResponseGetVolumeInfo
 
typedef struct FSAResponseGetInfoByQuery FSAResponseGetInfoByQuery
 
typedef struct FSAResponseOpenDir FSAResponseOpenDir
 
typedef struct FSAResponseOpenFile FSAResponseOpenFile
 
typedef struct FSAResponseReadDir FSAResponseReadDir
 
typedef struct FSAResponseStatFile FSAResponseStatFile
 
typedef struct FSAResponse FSAResponse
 
typedef struct FSAAsyncResult FSAAsyncResult
 
typedef struct FSAShimBuffer FSAShimBuffer
 
typedef struct FSAClientAttachAsyncData FSAClientAttachAsyncData
 
typedef struct FSABlockInfo FSABlockInfo
 
typedef struct FSADeviceInfo FSADeviceInfo
 
typedef struct FSAFileSystemInfo FSAFileSystemInfo
 
typedef struct FSVolumeInfo FSAVolumeInfo
 
typedef void(* FSAAsyncCallbackFn) (FSError result, FSACommand command, FSARequest *request, FSAResponse *response, void *userContext)
 
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)
 
typedef enum FSAMountFlags FSAMountFlags
 
typedef enum FSAUnmountFlags FSAUnmountFlags
 

Enumerations

enum  FSAMountPriority {
  FSA_MOUNT_PRIORITY_BASE = 0x1 ,
  FSA_MOUNT_PRIORITY_RAM_DISK_CACHE = 0x4 ,
  FSA_MOUNT_PRIORITY_TITLE_UPDATE = 0x9 ,
  FSA_MOUNT_PRIORITY_UNMOUNT_ALL = 0x80000000
}
 
enum  FSAQueryInfoType {
  FSA_QUERY_INFO_FREE_SPACE_SIZE = 0x0 ,
  FSA_QUERY_INFO_DIR_SIZE = 0x1 ,
  FSA_QUERY_INFO_ENTRY_NUM = 0x2 ,
  FSA_QUERY_INFO_FILE_SYSTEM_INFO = 0x3 ,
  FSA_QUERY_INFO_DEVICE_INFO = 0x4 ,
  FSA_QUERY_INFO_STAT = 0x5 ,
  FSA_QUERY_INFO_BAD_BLOCK_INFO = 0x6 ,
  FSA_QUERY_INFO_JOURNAL_FREE_SPACE_SIZE = 0x7 ,
  FSA_QUERY_INFO_FRAGMENT_BLOCK_INFO = 0x8
}
 
enum  FSAReadFlag {
  FSA_READ_FLAG_NONE = 0x0 ,
  FSA_READ_FLAG_READ_WITH_POS = 0x1
}
 
enum  FSAWriteFlag {
  FSA_WRITE_FLAG_NONE = 0x0 ,
  FSA_WRITE_FLAG_READ_WITH_POS = 0x1
}
 
enum  FSACommandEnum {
  FSA_COMMAND_INVALID = 0x0 ,
  FSA_COMMAND_MOUNT = 0x1 ,
  FSA_COMMAND_UNMOUNT = 0x2 ,
  FSA_COMMAND_GET_VOLUME_INFO = 0x3 ,
  FSA_COMMAND_GET_ATTACH = 0x4 ,
  FSA_COMMAND_CHANGE_DIR = 0x5 ,
  FSA_COMMAND_GET_CWD = 0x6 ,
  FSA_COMMAND_MAKE_DIR = 0x7 ,
  FSA_COMMAND_REMOVE = 0x8 ,
  FSA_COMMAND_RENAME = 0x9 ,
  FSA_COMMAND_OPEN_DIR = 0xA ,
  FSA_COMMAND_READ_DIR = 0xB ,
  FSA_COMMAND_REWIND_DIR = 0xC ,
  FSA_COMMAND_CLOSE_DIR = 0xD ,
  FSA_COMMAND_OPEN_FILE = 0xE ,
  FSA_COMMAND_READ_FILE = 0xF ,
  FSA_COMMAND_WRITE_FILE = 0x10 ,
  FSA_COMMAND_GET_POS_FILE = 0x11 ,
  FSA_COMMAND_SET_POS_FILE = 0x12 ,
  FSA_COMMAND_IS_EOF = 0x13 ,
  FSA_COMMAND_STAT_FILE = 0x14 ,
  FSA_COMMAND_CLOSE_FILE = 0x15 ,
  FSA_COMMAND_GET_ERROR = 0x16 ,
  FSA_COMMAND_FLUSH_FILE = 0x17 ,
  FSA_COMMAND_GET_INFO_BY_QUERY = 0x18 ,
  FSA_COMMAND_APPEND_FILE = 0x19 ,
  FSA_COMMAND_TRUNCATE_FILE = 0x1A ,
  FSA_COMMAND_FLUSH_VOLUME = 0x1B ,
  FSA_COMMAND_ROLLBACK_VOLUME = 0x1C ,
  FSA_COMMAND_MAKE_QUOTA = 0x1D ,
  FSA_COMMAND_FLUSH_QUOTA = 0x1E ,
  FSA_COMMAND_ROLLBACK_QUOTA = 0x1F ,
  FSA_COMMAND_CHANGE_MODE = 0x20 ,
  FSA_COMMAND_OPEN_FILE_BY_STAT = 0x21 ,
  FSA_COMMAND_REGISTER_FLUSH_QUOTA = 0x22 ,
  FSA_COMMAND_FLUSH_MULTI_QUOTA = 0x23 ,
  FSA_COMMAND_GET_FILE_BLOCK_ADDRESS = 0x25 ,
  FSA_COMMAND_ADD_USER_PROCESS = 0x65 ,
  FSA_COMMAND_DEL_USER_PROCESS = 0x66 ,
  FSA_COMMAND_MOUNT_WITH_PROCESS = 0x67 ,
  FSA_COMMAND_UNMOUNT_WITH_PROCESS = 0x68 ,
  FSA_COMMAND_FORMAT = 0x69 ,
  FSA_COMMAND_RAW_OPEN = 0x6A ,
  FSA_COMMAND_RAW_READ = 0x6B ,
  FSA_COMMAND_RAW_WRITE = 0x6C ,
  FSA_COMMAND_RAW_CLOSE = 0x6D ,
  FSA_COMMAND_GET_LAST_FAILED_VOLUME = 0x6E ,
  FSA_COMMAND_GET_VOLUME_EXISTENCE = 0x6F ,
  FSA_COMMAND_CHANGE_OWNER = 0x70 ,
  FSA_COMMAND_CANCEL_GET_ATTACH = 0x71 ,
  FSA_COMMAND_REMOVE_QUOTA = 0x72 ,
  FSA_COMMAND_SET_CLIENT_PRIORITY = 0x73 ,
  FSA_COMMAND_APPLY_MEMORY_CACHE = 0x74 ,
  FSA_COMMAND_MAKE_LINK = 0x75 ,
  FSA_COMMAND_XFER_PARAMS = 0x76 ,
  FSA_COMMAND_EXEC_DEBUG_PROC = 0x78 ,
  FSA_COMMAND_DEBUG_SET_TITLE_ID = 0x79 ,
  FSA_COMMAND_DEBUG_SET_CAPABILITY = 0x7A ,
  FSA_COMMAND_SET_PROCESS_CONFIG = 0x82 ,
  FSA_COMMAND_CONFIG_SET_MEMORY_CACHE = 0x83 ,
  FSA_COMMAND_CONFIG_UNSET_MEMORY_CACHE = 0x84 ,
  FSA_COMMAND_CONFIG_SET_PRF2_CHAR_CODE = 0x85 ,
  FSA_COMMAND_GET_PROC_RESOURCE_USAGE = 0x8C ,
  FSA_COMMAND_GET_ALL_RESOURCE_USAGE = 0x8D ,
  FSA_COMMAND_SEND_PROFILE_CMD = 0x8E
}
 
enum  FSAIpcRequestTypeEnum {
  FSA_IPC_REQUEST_IOCTL = 0 ,
  FSA_IPC_REQUEST_IOCTLV = 1
}
 
enum  FSAMountFlags {
  FSA_MOUNT_FLAG_LOCAL_MOUNT = 0 ,
  FSA_MOUNT_FLAG_BIND_MOUNT = 1 ,
  FSA_MOUNT_FLAG_GLOBAL_MOUNT = 2
}
 
enum  FSAUnmountFlags {
  FSA_UNMOUNT_FLAG_NONE = 0x00000000 ,
  FSA_UNMOUNT_FLAG_FORCE = 0x00000002 ,
  FSA_UNMOUNT_FLAG_BIND_MOUNT = 0x80000000
}
 

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)
 

Data Structure Documentation

◆ FSABlockInfo

struct FSABlockInfo

Block information.

Definition at line 86 of file filesystem_fsa.h.

◆ FSADeviceInfo

struct FSADeviceInfo

Device information.

Definition at line 94 of file filesystem_fsa.h.

Data Fields
uint64_t deviceSizeInSectors
uint32_t deviceSectorSize

◆ FSAFileSystemInfo

struct FSAFileSystemInfo

File System information.

Definition at line 107 of file filesystem_fsa.h.

◆ FSAProcessInfo

struct FSAProcessInfo

Process information.

Definition at line 144 of file filesystem_fsa.h.

Data Fields
uint64_t titleId
uint32_t processId
uint32_t groupId

◆ FSARequestRawOpen

struct FSARequestRawOpen

Definition at line 155 of file filesystem_fsa.h.

Data Fields
char path[0x280]

◆ FSARequestRawClose

struct FSARequestRawClose

Definition at line 161 of file filesystem_fsa.h.

Data Fields
int32_t handle

◆ FSARequestRawRead

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

◆ FSARequestRawWrite

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

◆ FSARequestAppendFile

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

◆ FSARequestChangeDir

struct FSARequestChangeDir

Request data for Command::ChangeDir.

Definition at line 212 of file filesystem_fsa.h.

Data Fields
char path[FS_MAX_PATH+1]

◆ FSARequestChangeMode

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

◆ FSARequestCloseDir

struct FSARequestCloseDir

Request data for Command::CloseDir.

Definition at line 238 of file filesystem_fsa.h.

Data Fields
FSADirectoryHandle handle

◆ FSARequestCloseFile

struct FSARequestCloseFile

Request data for Command::CloseFile.

Definition at line 249 of file filesystem_fsa.h.

Data Fields
FSAFileHandle handle

◆ FSARequestFlushFile

struct FSARequestFlushFile

Request data for Command::FlushFile.

Definition at line 260 of file filesystem_fsa.h.

Data Fields
FSAFileHandle handle

◆ FSARequestFlushQuota

struct FSARequestFlushQuota

Request data for Command::FlushQuota.

Definition at line 271 of file filesystem_fsa.h.

Data Fields
char path[FS_MAX_PATH+1]

◆ FSARequestGetInfoByQuery

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

◆ FSARequestGetPosFile

struct FSARequestGetPosFile

Request data for Command::GetPosFile.

Definition at line 295 of file filesystem_fsa.h.

Data Fields
FSAFileHandle handle

◆ FSARequestIsEof

struct FSARequestIsEof

Request data for Command::IsEof.

Definition at line 306 of file filesystem_fsa.h.

Data Fields
FSAFileHandle handle

◆ FSARequestMakeDir

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

◆ FSARequestMakeQuota

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

◆ FSARequestMount

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

◆ FSARequestMountWithProcess

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

◆ FSARequestOpenDir

struct FSARequestOpenDir

Request data for Command::OpenDir.

Definition at line 384 of file filesystem_fsa.h.

Data Fields
char path[FS_MAX_PATH+1]

◆ FSARequestOpenFile

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

◆ FSARequestReadDir

struct FSARequestReadDir

Request data for Command::ReadDir.

Definition at line 413 of file filesystem_fsa.h.

Data Fields
FSADirectoryHandle handle

◆ FSARequestReadFile

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

◆ FSARequestRemove

struct FSARequestRemove

Request data for Command::Remove.

Definition at line 446 of file filesystem_fsa.h.

Data Fields
char path[FS_MAX_PATH+1]

◆ FSARequestRename

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]

◆ FSARequestRewindDir

struct FSARequestRewindDir

Request data for Command::RewindDir.

Definition at line 470 of file filesystem_fsa.h.

Data Fields
FSADirectoryHandle handle

◆ FSARequestSetPosFile

struct FSARequestSetPosFile

Request data for Command::SetPosFile.

Definition at line 481 of file filesystem_fsa.h.

Data Fields
FSAFileHandle handle
FSAFilePosition pos

◆ FSARequestStatFile

struct FSARequestStatFile

Request data for Command::StatFile.

Definition at line 494 of file filesystem_fsa.h.

Data Fields
FSAFileHandle handle

◆ FSARequestTruncateFile

struct FSARequestTruncateFile

Request data for Command::TruncateFile.

Definition at line 505 of file filesystem_fsa.h.

Data Fields
FSAFileHandle handle

◆ FSARequestUnmount

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

◆ FSARequestUnmountWithProcess

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

◆ FSARequestWriteFile

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

◆ FSARequestChangeOwner

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

◆ FSARequest

struct FSARequest

Definition at line 575 of file filesystem_fsa.h.

Data Fields
FSError emulatedError
union FSARequest __unnamed__

◆ FSAResponseRawOpen

struct FSAResponseRawOpen

Definition at line 619 of file filesystem_fsa.h.

Data Fields
int handle

◆ FSAResponseGetCwd

struct FSAResponseGetCwd

Definition at line 625 of file filesystem_fsa.h.

Data Fields
char path[FS_MAX_PATH+1]

◆ FSAResponseGetFileBlockAddress

struct FSAResponseGetFileBlockAddress

Definition at line 632 of file filesystem_fsa.h.

Data Fields
uint32_t address

◆ FSAResponseGetPosFile

struct FSAResponseGetPosFile

Definition at line 639 of file filesystem_fsa.h.

Data Fields
FSAFilePosition pos

◆ FSAResponseGetVolumeInfo

struct FSAResponseGetVolumeInfo

Definition at line 646 of file filesystem_fsa.h.

Data Fields
FSAVolumeInfo volumeInfo

◆ FSAResponseGetInfoByQuery

struct FSAResponseGetInfoByQuery

Definition at line 653 of file filesystem_fsa.h.

Data Fields
union FSAResponseGetInfoByQuery __unnamed__

◆ FSAResponseOpenFile

struct FSAResponseOpenFile

Definition at line 678 of file filesystem_fsa.h.

Data Fields
FSAFileHandle handle

◆ FSAResponseOpenDir

struct FSAResponseOpenDir

Definition at line 685 of file filesystem_fsa.h.

Data Fields
FSADirectoryHandle handle

◆ FSAResponseReadDir

struct FSAResponseReadDir

Definition at line 692 of file filesystem_fsa.h.

Data Fields
FSADirectoryEntry entry

◆ FSAResponseStatFile

struct FSAResponseStatFile

Definition at line 699 of file filesystem_fsa.h.

Data Fields
FSAStat stat

◆ FSAResponse

struct FSAResponse

Definition at line 706 of file filesystem_fsa.h.

Data Fields
uint32_t word0
union FSAResponse __unnamed__

◆ FSAAsyncResult

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.

◆ FSAShimBuffer

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.

◆ FSAClientAttachAsyncData

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.

◆ FSARequest.__unnamed7__

union FSARequest.__unnamed7__

◆ FSAResponseGetInfoByQuery.__unnamed9__

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

◆ FSAResponse.__unnamed11__

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 Documentation

◆ FSACommand

typedef uint32_t FSACommand

Definition at line 10 of file filesystem_fsa.h.

◆ FSAIpcRequestType

typedef uint16_t FSAIpcRequestType

Definition at line 11 of file filesystem_fsa.h.

◆ FSAClientHandle

Definition at line 12 of file filesystem_fsa.h.

◆ FSAFileHandle

typedef uint32_t FSAFileHandle

Definition at line 13 of file filesystem_fsa.h.

◆ FSADirectoryHandle

typedef uint32_t FSADirectoryHandle

Definition at line 14 of file filesystem_fsa.h.

◆ FSAEntryNum

typedef uint32_t FSAEntryNum

Definition at line 15 of file filesystem_fsa.h.

◆ FSADirectoryEntry

Definition at line 16 of file filesystem_fsa.h.

◆ FSAStat

typedef FSStat FSAStat

Definition at line 17 of file filesystem_fsa.h.

◆ FSAFilePosition

typedef uint32_t FSAFilePosition

Definition at line 18 of file filesystem_fsa.h.

◆ FSAProcessInfo

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestRawOpen

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestRawClose

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestRawRead

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestRawWrite

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestAppendFile

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestChangeDir

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestChangeMode

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestCloseDir

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestCloseFile

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestFlushFile

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestFlushQuota

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestGetInfoByQuery

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestGetPosFile

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestIsEof

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestMakeDir

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestMakeQuota

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestMount

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestMountWithProcess

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestOpenDir

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestOpenFile

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestReadDir

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestReadFile

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestRemove

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestRename

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestRewindDir

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestSetPosFile

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestStatFile

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestTruncateFile

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestUnmount

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestUnmountWithProcess

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestWriteFile

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequestChangeOwner

Definition at line 18 of file filesystem_fsa.h.

◆ FSARequest

typedef struct FSARequest FSARequest

Definition at line 18 of file filesystem_fsa.h.

◆ FSAResponseRawOpen

Definition at line 18 of file filesystem_fsa.h.

◆ FSAResponseGetCwd

Definition at line 18 of file filesystem_fsa.h.

◆ FSAResponseGetFileBlockAddress

Definition at line 18 of file filesystem_fsa.h.

◆ FSAResponseGetPosFile

Definition at line 18 of file filesystem_fsa.h.

◆ FSAResponseGetVolumeInfo

Definition at line 18 of file filesystem_fsa.h.

◆ FSAResponseGetInfoByQuery

Definition at line 18 of file filesystem_fsa.h.

◆ FSAResponseOpenDir

Definition at line 18 of file filesystem_fsa.h.

◆ FSAResponseOpenFile

Definition at line 18 of file filesystem_fsa.h.

◆ FSAResponseReadDir

Definition at line 18 of file filesystem_fsa.h.

◆ FSAResponseStatFile

Definition at line 18 of file filesystem_fsa.h.

◆ FSAResponse

typedef struct FSAResponse FSAResponse

Definition at line 18 of file filesystem_fsa.h.

◆ FSAAsyncResult

Definition at line 18 of file filesystem_fsa.h.

◆ FSAShimBuffer

typedef struct FSAShimBuffer FSAShimBuffer

Definition at line 18 of file filesystem_fsa.h.

◆ FSAClientAttachAsyncData

Definition at line 18 of file filesystem_fsa.h.

◆ FSABlockInfo

typedef struct FSABlockInfo FSABlockInfo

Definition at line 18 of file filesystem_fsa.h.

◆ FSADeviceInfo

typedef struct FSADeviceInfo FSADeviceInfo

Definition at line 18 of file filesystem_fsa.h.

◆ FSAFileSystemInfo

Definition at line 18 of file filesystem_fsa.h.

◆ FSAVolumeInfo

typedef struct FSVolumeInfo FSAVolumeInfo

Definition at line 18 of file filesystem_fsa.h.

◆ FSAAsyncCallbackFn

typedef void(* FSAAsyncCallbackFn) (FSError result, FSACommand command, FSARequest *request, FSAResponse *response, void *userContext)

Definition at line 77 of file filesystem_fsa.h.

◆ FSAMountPriority

◆ FSAQueryInfoType

◆ FSAReadFlag

typedef enum FSAReadFlag FSAReadFlag

◆ FSAWriteFlag

typedef enum FSAWriteFlag FSAWriteFlag

◆ FSAClientAttachAsyncCallbackFn

typedef void(* FSAClientAttachAsyncCallbackFn) (FSError result, FSACommand command, FSARequest *request, FSAResponse *response, void *userContext)

Definition at line 877 of file filesystem_fsa.h.

◆ FSAMountFlags

◆ FSAUnmountFlags

Enumeration Type Documentation

◆ 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.

◆ FSAQueryInfoType

Enumerator
FSA_QUERY_INFO_FREE_SPACE_SIZE 
FSA_QUERY_INFO_DIR_SIZE 
FSA_QUERY_INFO_ENTRY_NUM 
FSA_QUERY_INFO_FILE_SYSTEM_INFO 
FSA_QUERY_INFO_DEVICE_INFO 
FSA_QUERY_INFO_STAT 
FSA_QUERY_INFO_BAD_BLOCK_INFO 
FSA_QUERY_INFO_JOURNAL_FREE_SPACE_SIZE 
FSA_QUERY_INFO_FRAGMENT_BLOCK_INFO 

Definition at line 119 of file filesystem_fsa.h.

◆ FSAReadFlag

Enumerator
FSA_READ_FLAG_NONE 
FSA_READ_FLAG_READ_WITH_POS 

Definition at line 131 of file filesystem_fsa.h.

◆ FSAWriteFlag

Enumerator
FSA_WRITE_FLAG_NONE 
FSA_WRITE_FLAG_READ_WITH_POS 

Definition at line 136 of file filesystem_fsa.h.

◆ FSACommandEnum

Enumerator
FSA_COMMAND_INVALID 
FSA_COMMAND_MOUNT 
FSA_COMMAND_UNMOUNT 
FSA_COMMAND_GET_VOLUME_INFO 
FSA_COMMAND_GET_ATTACH 
FSA_COMMAND_CHANGE_DIR 
FSA_COMMAND_GET_CWD 
FSA_COMMAND_MAKE_DIR 
FSA_COMMAND_REMOVE 
FSA_COMMAND_RENAME 
FSA_COMMAND_OPEN_DIR 
FSA_COMMAND_READ_DIR 
FSA_COMMAND_REWIND_DIR 
FSA_COMMAND_CLOSE_DIR 
FSA_COMMAND_OPEN_FILE 
FSA_COMMAND_READ_FILE 
FSA_COMMAND_WRITE_FILE 
FSA_COMMAND_GET_POS_FILE 
FSA_COMMAND_SET_POS_FILE 
FSA_COMMAND_IS_EOF 
FSA_COMMAND_STAT_FILE 
FSA_COMMAND_CLOSE_FILE 
FSA_COMMAND_GET_ERROR 
FSA_COMMAND_FLUSH_FILE 
FSA_COMMAND_GET_INFO_BY_QUERY 
FSA_COMMAND_APPEND_FILE 
FSA_COMMAND_TRUNCATE_FILE 
FSA_COMMAND_FLUSH_VOLUME 
FSA_COMMAND_ROLLBACK_VOLUME 
FSA_COMMAND_MAKE_QUOTA 
FSA_COMMAND_FLUSH_QUOTA 
FSA_COMMAND_ROLLBACK_QUOTA 
FSA_COMMAND_CHANGE_MODE 
FSA_COMMAND_OPEN_FILE_BY_STAT 
FSA_COMMAND_REGISTER_FLUSH_QUOTA 
FSA_COMMAND_FLUSH_MULTI_QUOTA 
FSA_COMMAND_GET_FILE_BLOCK_ADDRESS 
FSA_COMMAND_ADD_USER_PROCESS 
FSA_COMMAND_DEL_USER_PROCESS 
FSA_COMMAND_MOUNT_WITH_PROCESS 
FSA_COMMAND_UNMOUNT_WITH_PROCESS 
FSA_COMMAND_FORMAT 
FSA_COMMAND_RAW_OPEN 
FSA_COMMAND_RAW_READ 
FSA_COMMAND_RAW_WRITE 
FSA_COMMAND_RAW_CLOSE 
FSA_COMMAND_GET_LAST_FAILED_VOLUME 
FSA_COMMAND_GET_VOLUME_EXISTENCE 
FSA_COMMAND_CHANGE_OWNER 
FSA_COMMAND_CANCEL_GET_ATTACH 
FSA_COMMAND_REMOVE_QUOTA 
FSA_COMMAND_SET_CLIENT_PRIORITY 
FSA_COMMAND_APPLY_MEMORY_CACHE 
FSA_COMMAND_MAKE_LINK 
FSA_COMMAND_XFER_PARAMS 
FSA_COMMAND_EXEC_DEBUG_PROC 
FSA_COMMAND_DEBUG_SET_TITLE_ID 
FSA_COMMAND_DEBUG_SET_CAPABILITY 
FSA_COMMAND_SET_PROCESS_CONFIG 
FSA_COMMAND_CONFIG_SET_MEMORY_CACHE 
FSA_COMMAND_CONFIG_UNSET_MEMORY_CACHE 
FSA_COMMAND_CONFIG_SET_PRF2_CHAR_CODE 
FSA_COMMAND_GET_PROC_RESOURCE_USAGE 
FSA_COMMAND_GET_ALL_RESOURCE_USAGE 
FSA_COMMAND_SEND_PROFILE_CMD 

Definition at line 726 of file filesystem_fsa.h.

◆ FSAIpcRequestTypeEnum

Enumerator
FSA_IPC_REQUEST_IOCTL 
FSA_IPC_REQUEST_IOCTLV 

Definition at line 794 of file filesystem_fsa.h.

◆ 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.

◆ FSAUnmountFlags

Enumerator
FSA_UNMOUNT_FLAG_NONE 
FSA_UNMOUNT_FLAG_FORCE 
FSA_UNMOUNT_FLAG_BIND_MOUNT 

Definition at line 904 of file filesystem_fsa.h.

Function Documentation

◆ FSAInit()

FSError FSAInit ( )

◆ FSAShutdown()

void FSAShutdown ( )

◆ FSAGetClientNum()

uint32_t FSAGetClientNum ( )

◆ FSAAddClient()

FSAClientHandle FSAAddClient ( FSAClientAttachAsyncData attachAsyncData)

◆ FSADelClient()

FSError FSADelClient ( FSAClientHandle  client)

◆ FSAGetStatusStr()

const char* FSAGetStatusStr ( FSError  error)

◆ __FSAShimDecodeIosErrorToFsaStatus()

FSError __FSAShimDecodeIosErrorToFsaStatus ( IOSHandle  handle,
IOSError  err 
)

◆ FSAFlushMultiQuota()

FSError FSAFlushMultiQuota ( FSAClientHandle  client,
const char *  path 
)

◆ FSAFlushQuota()

FSError FSAFlushQuota ( FSAClientHandle  client,
const char *  path 
)

◆ FSAFlushVolume()

FSError FSAFlushVolume ( FSAClientHandle  client,
const char *  path 
)

◆ FSAFreeAsyncResult()

void FSAFreeAsyncResult ( FSAAsyncResult asyncResult)

Frees the FSAShimBuffer where the given asyncResult is part of.

Parameters
asyncResult

◆ FSAGetAsyncResult()

FSAAsyncResult FSAGetAsyncResult ( OSMessage asyncResult)

◆ FSAMount()

FSError FSAMount ( FSAClientHandle  client,
const char *  source,
const char *  target,
FSAMountFlags  flags,
void *  arg_buf,
uint32_t  arg_len 
)

◆ FSAUnmount()

FSError FSAUnmount ( FSAClientHandle  client,
const char *  mountedTarget,
FSAUnmountFlags  flags 
)

◆ FSAChangeDir()

FSError FSAChangeDir ( FSAClientHandle  client,
const char *  path 
)

◆ FSAChangeMode()

FSError FSAChangeMode ( FSAClientHandle  client,
const char *  path,
FSMode  permission 
)

◆ FSAOpenFileEx()

FSError FSAOpenFileEx ( FSAClientHandle  client,
const char *  path,
const char *  mode,
FSMode  createMode,
FSOpenFileFlags  openFlag,
uint32_t  preallocSize,
FSAFileHandle outFileHandle 
)

◆ FSAOpenFileByStat()

FSError FSAOpenFileByStat ( FSAClientHandle  client,
FSAStat stat,
const char *  mode,
const char *  path,
FSAFileHandle outFileHandle 
)

◆ FSAGetStatFile()

FSError FSAGetStatFile ( FSAClientHandle  client,
FSAFileHandle  fileHandle,
FSAStat stat 
)

◆ FSAGetStat()

FSError FSAGetStat ( FSAClientHandle  client,
const char *  path,
FSAStat stat 
)

◆ FSACloseFile()

FSError FSACloseFile ( FSAClientHandle  client,
FSAFileHandle  fileHandle 
)

◆ FSAAppendFile()

FSError FSAAppendFile ( FSAClientHandle  client,
FSAFileHandle  fileHandle,
uint32_t  size,
uint32_t  count 
)

◆ FSAAppendFileEx()

FSError FSAAppendFileEx ( FSAClientHandle  client,
FSAFileHandle  fileHandle,
uint32_t  size,
uint32_t  count,
uint32_t  flags 
)

◆ FSAGetPosFile()

FSError FSAGetPosFile ( FSAClientHandle  client,
FSAFileHandle  fileHandle,
uint32_t *  outPos 
)

◆ FSAFlushFile()

FSError FSAFlushFile ( FSAClientHandle  client,
FSAFileHandle  fileHandle 
)

◆ FSASetPosFile()

FSError FSASetPosFile ( FSAClientHandle  client,
FSAFileHandle  fileHandle,
uint32_t  pos 
)

◆ FSATruncateFile()

FSError FSATruncateFile ( FSAClientHandle  client,
FSAFileHandle  handle 
)

◆ FSAWriteFile()

FSError FSAWriteFile ( FSAClientHandle  client,
void *  buffer,
uint32_t  size,
uint32_t  count,
FSAFileHandle  handle,
uint32_t  flags 
)

◆ FSAWriteFileWithPos()

FSError FSAWriteFileWithPos ( FSAClientHandle  client,
void *  buffer,
uint32_t  size,
uint32_t  count,
uint32_t  pos,
FSAFileHandle  handle,
uint32_t  flags 
)

◆ FSAIsEof()

FSError FSAIsEof ( FSAClientHandle  client,
FSAFileHandle  fileHandle 
)

◆ FSAReadFile()

FSError FSAReadFile ( FSAClientHandle  client,
void *  buffer,
uint32_t  size,
uint32_t  count,
FSAFileHandle  handle,
uint32_t  flags 
)

◆ FSAReadFileWithPos()

FSError FSAReadFileWithPos ( FSAClientHandle  client,
void *  buffer,
uint32_t  size,
uint32_t  count,
uint32_t  pos,
FSAFileHandle  handle,
uint32_t  flags 
)

◆ FSARemove()

FSError FSARemove ( FSAClientHandle  client,
const char *  path 
)

◆ FSARename()

FSError FSARename ( FSAClientHandle  client,
const char *  oldPath,
const char *  newPath 
)

◆ FSAOpenDir()

FSError FSAOpenDir ( FSAClientHandle  client,
const char *  path,
FSADirectoryHandle dirHandle 
)

◆ FSAReadDir()

FSError FSAReadDir ( FSAClientHandle  client,
FSADirectoryHandle  dirHandle,
FSADirectoryEntry directoryEntry 
)

◆ FSARewindDir()

FSError FSARewindDir ( FSAClientHandle  client,
FSADirectoryHandle  dirHandle 
)

◆ FSACloseDir()

FSError FSACloseDir ( FSAClientHandle  client,
FSADirectoryHandle  dirHandle 
)

◆ FSAMakeDir()

FSError FSAMakeDir ( FSAClientHandle  client,
const char *  path,
FSMode  mode 
)

◆ FSAGetCwd()

FSError FSAGetCwd ( FSAClientHandle  client,
char *  outPath,
uint32_t  outPathLen 
)

◆ FSAGetTransactionBlockPoolAttributes()

FSError FSAGetTransactionBlockPoolAttributes ( uint32_t *  messageSize,
uint32_t *  poolSize,
uint32_t *  numMessages 
)

◆ FSAGetVolumeInfo()

FSError FSAGetVolumeInfo ( FSAClientHandle  client,
const char *  path,
FSAVolumeInfo outVolumeInfo 
)

◆ FSAMakeQuota()

FSError FSAMakeQuota ( FSAClientHandle  client,
const char *  name,
uint32_t  mode,
uint64_t  quota 
)

◆ FSARegisterFlushQuota()

FSError FSARegisterFlushQuota ( FSAClientHandle  client,
const char *  path 
)

◆ FSARollbackQuota()

FSError FSARollbackQuota ( FSAClientHandle  client,
const char *  path 
)

◆ FSARollbackQuotaForce()

FSError FSARollbackQuotaForce ( FSAClientHandle  client,
const char *  path 
)

◆ FSARollbackVolume()

FSError FSARollbackVolume ( FSAClientHandle  client,
const char *  path 
)

◆ FSAGetFreeSpaceSize()

FSError FSAGetFreeSpaceSize ( FSAClientHandle  client,
const char *  path,
uint64_t *  freeSpaceSize 
)

◆ FSAGetJournalFreeSpaceSize()

FSError FSAGetJournalFreeSpaceSize ( FSAClientHandle  client,
const char *  path,
uint64_t *  journalFreeSpaceSize 
)

◆ FSAGetDirSize()

FSError FSAGetDirSize ( FSAClientHandle  client,
const char *  path,
uint64_t *  freeDirSize 
)

◆ FSAGetEntryNum()

FSError FSAGetEntryNum ( FSAClientHandle  client,
const char *  path,
FSAEntryNum entryNum 
)

◆ FSAGetFileSystemInfo()

FSError FSAGetFileSystemInfo ( FSAClientHandle  client,
const char *  path,
FSAFileSystemInfo fileSystemInfo 
)

◆ FSAGetDeviceInfo()

FSError FSAGetDeviceInfo ( FSAClientHandle  client,
const char *  path,
FSADeviceInfo fileSystemInfo 
)

◆ FSAGetBadBlockInfo()

FSError FSAGetBadBlockInfo ( FSAClientHandle  client,
const char *  path,
FSABlockInfo blockInfo 
)

◆ FSAGetFragmentBlockInfo()

FSError FSAGetFragmentBlockInfo ( FSAClientHandle  client,
const char *  path,
FSABlockInfo blockInfo 
)