wut
v1.7.0
Wii U Toolchain
|
Mount, access and modify filesystems directly. More...
Data Structures | |
struct | FSFsm |
struct | FSCmdQueue |
struct | FSMessage |
struct | FSClientBodyLink |
Link entry used for FSClientBodyQueue. More... | |
struct | FSClientBody |
struct | FSClient |
struct | FSCmdBlock |
struct | FSStat |
struct | FSStateChangeParams |
struct | FSAsyncData |
struct | FSAsyncResult |
Stores the result of an async FS command. More... | |
struct | FSCmdBlockBody |
struct | FSDirectoryEntry |
struct | FSMountSource |
struct | FSVolumeInfo |
Macros | |
#define | FS_MAX_PATH (0x27F) |
#define | FS_MODE_LENGTH (0x10) |
Functions | |
static FSClientBody * | FSGetClientBody (FSClient *client) |
Get an aligned FSClientBody from an FSClient. More... | |
static FSCmdBlockBody * | FSGetCmdBlockBody (FSCmdBlock *cmdBlock) |
Get an aligned FSCmdBlockBody from an FSCmdBlock. More... | |
void | FSInit () |
void | FSShutdown () |
FSStatus | FSAddClient (FSClient *client, FSErrorFlag errorMask) |
FSStatus | FSDelClient (FSClient *client, FSErrorFlag errorMask) |
uint32_t | FSGetClientNum () |
void | FSInitCmdBlock (FSCmdBlock *block) |
FSStatus | FSSetCmdPriority (FSCmdBlock *block, FSPriority priority) |
void | FSSetStateChangeNotification (FSClient *client, FSStateChangeParams *info) |
FSStatus | FSGetCwd (FSClient *client, FSCmdBlock *block, char *buffer, uint32_t bufferSize, FSErrorFlag errorMask) |
FSStatus | FSChangeDir (FSClient *client, FSCmdBlock *block, const char *path, FSErrorFlag errorMask) |
FSStatus | FSChangeDirAsync (FSClient *client, FSCmdBlock *block, const char *path, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSAsyncResult * | FSGetAsyncResult (FSMessage *message) |
FSStatus | FSGetStat (FSClient *client, FSCmdBlock *block, const char *path, FSStat *stat, FSErrorFlag errorMask) |
FSStatus | FSGetStatAsync (FSClient *client, FSCmdBlock *block, const char *path, FSStat *stat, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSRemove (FSClient *client, FSCmdBlock *block, const char *path, FSErrorFlag errorMask) |
FSStatus | FSRemoveAsync (FSClient *client, FSCmdBlock *block, const char *path, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSOpenFile (FSClient *client, FSCmdBlock *block, const char *path, const char *mode, FSFileHandle *handle, FSErrorFlag errorMask) |
FSStatus | FSOpenFileAsync (FSClient *client, FSCmdBlock *block, const char *path, const char *mode, FSFileHandle *outHandle, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSCloseFile (FSClient *client, FSCmdBlock *block, FSFileHandle handle, FSErrorFlag errorMask) |
FSStatus | FSCloseFileAsync (FSClient *client, FSCmdBlock *block, FSFileHandle handle, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSOpenFileEx (FSClient *client, FSCmdBlock *block, const char *path, const char *mode, FSMode createMode, FSOpenFileFlags openFlag, uint32_t preallocSize, FSFileHandle *handle, FSErrorFlag errorMask) |
FSStatus | FSOpenFileExAsync (FSClient *client, FSCmdBlock *block, const char *path, const char *mode, FSMode createMode, FSOpenFileFlags openFlag, uint32_t preallocSize, FSFileHandle *handle, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSOpenDir (FSClient *client, FSCmdBlock *block, const char *path, FSDirectoryHandle *handle, FSErrorFlag errorMask) |
FSStatus | FSOpenDirAsync (FSClient *client, FSCmdBlock *block, const char *path, FSDirectoryHandle *handle, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSMakeDir (FSClient *client, FSCmdBlock *block, const char *path, FSErrorFlag errorMask) |
FSStatus | FSMakeDirAsync (FSClient *client, FSCmdBlock *block, const char *path, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSReadDir (FSClient *client, FSCmdBlock *block, FSDirectoryHandle handle, FSDirectoryEntry *entry, FSErrorFlag errorMask) |
FSStatus | FSReadDirAsync (FSClient *client, FSCmdBlock *block, FSDirectoryHandle handle, FSDirectoryEntry *entry, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSRewindDir (FSClient *client, FSCmdBlock *block, FSDirectoryHandle handle, FSErrorFlag errorMask) |
FSStatus | FSCloseDir (FSClient *client, FSCmdBlock *block, FSDirectoryHandle handle, FSErrorFlag errorMask) |
FSStatus | FSGetVolumeInfo (FSClient *client, FSCmdBlock *block, const char *path, FSVolumeInfo *volumeInfo, FSErrorFlag errorMask) |
FSStatus | FSGetVolumeInfoAsync (FSClient *client, FSCmdBlock *block, const char *path, FSVolumeInfo *volumeInfo, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSCloseDirAsync (FSClient *client, FSCmdBlock *block, FSDirectoryHandle handle, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSChangeMode (FSClient *client, FSCmdBlock *block, const char *path, FSMode mode, FSMode modeMask, FSErrorFlag errorMask) |
FSStatus | FSChangeModeAsync (FSClient *client, FSCmdBlock *block, const char *path, FSMode mode, FSMode modeMask, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSGetFreeSpaceSize (FSClient *client, FSCmdBlock *block, const char *path, uint64_t *outSize, FSErrorFlag errorMask) |
FSStatus | FSGetFreeSpaceSizeAsync (FSClient *client, FSCmdBlock *block, const char *path, uint64_t *outSize, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSGetStatFile (FSClient *client, FSCmdBlock *block, FSFileHandle handle, FSStat *stat, FSErrorFlag errorMask) |
FSStatus | FSGetStatFileAsync (FSClient *client, FSCmdBlock *block, FSFileHandle handle, FSStat *stat, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSReadFile (FSClient *client, FSCmdBlock *block, uint8_t *buffer, uint32_t size, uint32_t count, FSFileHandle handle, uint32_t unk1, FSErrorFlag errorMask) |
FSStatus | FSReadFileAsync (FSClient *client, FSCmdBlock *block, uint8_t *buffer, uint32_t size, uint32_t count, FSFileHandle handle, uint32_t unk1, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSReadFileWithPos (FSClient *client, FSCmdBlock *block, uint8_t *buffer, uint32_t size, uint32_t count, uint32_t pos, FSFileHandle handle, uint32_t unk1, FSErrorFlag errorMask) |
FSStatus | FSReadFileWithPosAsync (FSClient *client, FSCmdBlock *block, uint8_t *buffer, uint32_t size, uint32_t count, uint32_t pos, FSFileHandle handle, uint32_t unk1, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSWriteFile (FSClient *client, FSCmdBlock *block, uint8_t *buffer, uint32_t size, uint32_t count, FSFileHandle handle, uint32_t unk1, FSErrorFlag errorMask) |
FSStatus | FSWriteFileAsync (FSClient *client, FSCmdBlock *block, uint8_t *buffer, uint32_t size, uint32_t count, FSFileHandle handle, uint32_t unk1, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSWriteFileWithPos (FSClient *client, FSCmdBlock *block, uint8_t *buffer, uint32_t size, uint32_t count, uint32_t pos, FSFileHandle handle, uint32_t unk1, FSErrorFlag errorMask) |
FSStatus | FSWriteFileWithPosAsync (FSClient *client, FSCmdBlock *block, uint8_t *buffer, uint32_t size, uint32_t count, uint32_t pos, FSFileHandle handle, uint32_t unk1, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSGetPosFile (FSClient *client, FSCmdBlock *block, FSFileHandle fileHandle, uint32_t *pos, FSErrorFlag errorMask) |
FSStatus | FSGetPosFileAsync (FSClient *client, FSCmdBlock *block, FSFileHandle fileHandle, uint32_t *pos, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSSetPosFile (FSClient *client, FSCmdBlock *block, FSFileHandle handle, uint32_t pos, FSErrorFlag errorMask) |
FSStatus | FSSetPosFileAsync (FSClient *client, FSCmdBlock *block, FSFileHandle handle, uint32_t pos, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSFlushFile (FSClient *client, FSCmdBlock *block, FSFileHandle handle, FSErrorFlag errorMask) |
FSStatus | FSFlushFileAsync (FSClient *client, FSCmdBlock *block, FSFileHandle handle, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSTruncateFile (FSClient *client, FSCmdBlock *block, FSFileHandle handle, FSErrorFlag errorMask) |
FSStatus | FSTruncateFileAsync (FSClient *client, FSCmdBlock *block, FSFileHandle handle, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSStatus | FSRename (FSClient *client, FSCmdBlock *block, const char *oldPath, const char *newPath, FSErrorFlag errorMask) |
FSStatus | FSRenameAsync (FSClient *client, FSCmdBlock *block, const char *oldPath, const char *newPath, FSErrorFlag errorMask, FSAsyncData *asyncData) |
FSVolumeState | FSGetVolumeState (FSClient *client) |
FSError | FSGetLastError (FSClient *client) |
FSError | FSGetLastErrorCodeForViewer (FSClient *client) |
FSStatus | FSGetMountSource (FSClient *client, FSCmdBlock *cmd, FSMountSourceType type, FSMountSource *out, FSErrorFlag errorMask) |
FSStatus | FSMount (FSClient *client, FSCmdBlock *cmd, FSMountSource *source, const char *target, uint32_t bytes, FSErrorFlag errorMask) |
FSStatus | FSUnmount (FSClient *client, FSCmdBlock *cmd, const char *target, FSErrorFlag errorMask) |
FSStatus | FSBindMount (FSClient *client, FSCmdBlock *cmd, const char *source, const char *target, FSErrorFlag errorMask) |
FSStatus | FSBindUnmount (FSClient *client, FSCmdBlock *cmd, const char *target, FSErrorFlag errorMask) |
void | FSTimeToCalendarTime (FSTime time, OSCalendarTime *outCalendarTime) |
File times aren't always available in which case it returns the default 1980-01-01. More... | |
Mount, access and modify filesystems directly.
First call FSInit to initialise the file system library, then call FSAddClient to initialise your FSClient structure, then you need to use FSInitCmdBlock to initialise an FSCmdBlock structure for each command you want to run in parallel. You must ensure the previous filesystem command has been completed before reusing the same FSCmdBlock, you do not need to reinitialise an FSCmdBlock before reusing it.
struct FSFsm |
Definition at line 210 of file filesystem.h.
struct FSCmdQueue |
Definition at line 216 of file filesystem.h.
struct FSMessage |
Definition at line 222 of file filesystem.h.
Data Fields | ||
---|---|---|
void * | data | Message data. |
OSFunctionType | type | Type of message. |
struct FSClientBodyLink |
Link entry used for FSClientBodyQueue.
Definition at line 239 of file filesystem.h.
Data Fields | ||
---|---|---|
FSClientBody * | next | |
FSClientBody * | prev |
struct FSClientBody |
Definition at line 248 of file filesystem.h.
Data Fields | ||
---|---|---|
IOSHandle | clientHandle | IOSHandle returned from fsaShimOpen. |
FSFsm | fsm | State machine. |
FSCmdQueue | cmdQueue | Command queue of FS commands. |
FSCmdBlockBody * | lastDequeuedCommand | The last dequeued command. |
FSError | emulatedError | Emulated error, set with FSSetEmulatedError. |
OSFastMutex | mutex | Mutex used to protect FSClientBody data. |
OSAlarm | fsmAlarm | Alarm used by fsm for unknown reasons. |
FSError | lastError | Error of last FS command. |
bool | isLastErrorWithoutVolume | |
FSMessage | fsCmdHandlerMsg | Message used to send FsCmdHandler message when FSA async callback is received. |
char | lastMountSourceDevice[0x10] | Device name of the last mount source returned by FSGetMountSourceNext. |
FSMountSourceType | findMountSourceType | Mount source type to find with FSGetMountSourceNext. |
FSClientBodyLink | link | Link used for linked list of clients. |
FSClient * | client | Pointer to unaligned FSClient structure. |
struct FSClient |
Definition at line 313 of file filesystem.h.
struct FSCmdBlock |
Definition at line 319 of file filesystem.h.
struct FSStat |
Definition at line 325 of file filesystem.h.
Data Fields | ||
---|---|---|
FSStatFlags | flags | |
FSMode | mode | |
uint32_t | owner | |
uint32_t | group | |
uint32_t | size | |
uint32_t | allocSize | |
uint64_t | quotaSize | |
uint32_t | entryId | |
FSTime | created | |
FSTime | modified |
struct FSStateChangeParams |
Definition at line 351 of file filesystem.h.
Data Fields | ||
---|---|---|
FSStateChangeCallback | callback | |
void * | param | |
OSMessageQueue * | ioMsgQueue |
struct FSAsyncData |
Definition at line 362 of file filesystem.h.
Data Fields | ||
---|---|---|
FSAsyncCallback | callback | |
uint32_t | param | |
OSMessageQueue * | ioMsgQueue |
struct FSAsyncResult |
Stores the result of an async FS command.
Definition at line 376 of file filesystem.h.
Data Fields | ||
---|---|---|
FSAsyncData | asyncData | User supplied async data. |
FSMessage | ioMsg | Message to put into asyncdata.ioMsgQueue. |
FSClient * | client | FSClient which owns this result. |
FSCmdBlock * | block | FSCmdBlock which owns this result. |
FSStatus | status | The result of the command. |
struct FSCmdBlockBody |
Definition at line 400 of file filesystem.h.
Data Fields | ||
---|---|---|
FSAsyncResult | asyncResult |
struct FSDirectoryEntry |
Definition at line 408 of file filesystem.h.
Data Fields | ||
---|---|---|
FSStat | info | |
char | name[256] |
struct FSMountSource |
Definition at line 416 of file filesystem.h.
struct FSVolumeInfo |
Definition at line 422 of file filesystem.h.
Data Fields | ||
---|---|---|
uint32_t | flags | |
FSMediaState | mediaState | |
uint32_t | unk0x0C | |
uint32_t | unk0x10 | |
int32_t | unk0x14 | |
int32_t | unk0x18 | |
char | volumeLabel[128] | |
char | volumeId[128] | |
char | devicePath[16] | |
char | mountPath[128] |
#define FS_MAX_PATH (0x27F) |
Definition at line 28 of file filesystem.h.
#define FS_MODE_LENGTH (0x10) |
Definition at line 29 of file filesystem.h.
typedef uint32_t FSDirectoryHandle |
Definition at line 31 of file filesystem.h.
typedef uint32_t FSFileHandle |
Definition at line 32 of file filesystem.h.
typedef uint32_t FSPriority |
Definition at line 33 of file filesystem.h.
typedef uint64_t FSTime |
Definition at line 34 of file filesystem.h.
Definition at line 34 of file filesystem.h.
typedef struct FSCmdQueue FSCmdQueue |
Definition at line 34 of file filesystem.h.
typedef struct FSClientBodyLink FSClientBodyLink |
Definition at line 34 of file filesystem.h.
typedef struct FSAsyncData FSAsyncData |
Definition at line 34 of file filesystem.h.
typedef struct FSAsyncResult FSAsyncResult |
Definition at line 34 of file filesystem.h.
typedef struct FSClientBody FSClientBody |
Definition at line 34 of file filesystem.h.
Definition at line 34 of file filesystem.h.
typedef struct FSCmdBlockBody FSCmdBlockBody |
Definition at line 34 of file filesystem.h.
typedef struct FSCmdBlock FSCmdBlock |
Definition at line 34 of file filesystem.h.
typedef struct FSDirectoryEntry FSDirectoryEntry |
Definition at line 34 of file filesystem.h.
Definition at line 34 of file filesystem.h.
typedef struct FSMountSource FSMountSource |
Definition at line 34 of file filesystem.h.
Definition at line 34 of file filesystem.h.
typedef struct FSStateChangeParams FSStateChangeParams |
Definition at line 34 of file filesystem.h.
typedef struct FSStateChangeParams FSStateChangeInfo |
Definition at line 34 of file filesystem.h.
typedef struct FSVolumeInfo FSVolumeInfo |
Definition at line 34 of file filesystem.h.
typedef enum FSErrorFlag FSErrorFlag |
typedef enum FSStatFlags FSStatFlags |
Flags for FSStat.
One can return multiple flags, so for example a file that's encrypted or a linked directory.
typedef enum FSVolumeState FSVolumeState |
typedef enum FSMediaState FSMediaState |
typedef enum FSMountSourceType FSMountSourceType |
typedef enum FSOpenFileFlags FSOpenFileFlags |
typedef void(* FSAsyncCallback) (FSClient *, FSCmdBlock *, FSStatus, uint32_t) |
Definition at line 207 of file filesystem.h.
typedef void(* FSStateChangeCallback) (FSClient *, FSVolumeState, void *) |
Definition at line 208 of file filesystem.h.
enum FSErrorFlag |
Definition at line 53 of file filesystem.h.
enum FSStatus |
Definition at line 71 of file filesystem.h.
enum FSError |
Definition at line 94 of file filesystem.h.
enum FSMode |
Enumerator | |
---|---|
FS_MODE_READ_OWNER | |
FS_MODE_WRITE_OWNER | |
FS_MODE_EXEC_OWNER | |
FS_MODE_READ_GROUP | |
FS_MODE_WRITE_GROUP | |
FS_MODE_EXEC_GROUP | |
FS_MODE_READ_OTHER | |
FS_MODE_WRITE_OTHER | |
FS_MODE_EXEC_OTHER |
Definition at line 136 of file filesystem.h.
enum FSStatFlags |
Flags for FSStat.
One can return multiple flags, so for example a file that's encrypted or a linked directory.
Definition at line 153 of file filesystem.h.
enum FSVolumeState |
Definition at line 168 of file filesystem.h.
enum FSMediaState |
Enumerator | |
---|---|
FS_MEDIA_STATE_READY | |
FS_MEDIA_STATE_NO_MEDIA | |
FS_MEDIA_STATE_INVALID_MEDIA | |
FS_MEDIA_STATE_DIRTY_MEDIA | |
FS_MEDIA_STATE_MEDIA_ERROR |
Definition at line 184 of file filesystem.h.
enum FSMountSourceType |
Enumerator | |
---|---|
FS_MOUNT_SOURCE_SD | |
FS_MOUNT_SOURCE_UNK |
Definition at line 192 of file filesystem.h.
enum FSOpenFileFlags |
Definition at line 197 of file filesystem.h.
|
inlinestatic |
Get an aligned FSClientBody from an FSClient.
Definition at line 453 of file filesystem.h.
|
inlinestatic |
Get an aligned FSCmdBlockBody from an FSCmdBlock.
Definition at line 464 of file filesystem.h.
void FSInit | ( | ) |
void FSShutdown | ( | ) |
FSStatus FSAddClient | ( | FSClient * | client, |
FSErrorFlag | errorMask | ||
) |
FSStatus FSDelClient | ( | FSClient * | client, |
FSErrorFlag | errorMask | ||
) |
uint32_t FSGetClientNum | ( | ) |
void FSInitCmdBlock | ( | FSCmdBlock * | block | ) |
FSStatus FSSetCmdPriority | ( | FSCmdBlock * | block, |
FSPriority | priority | ||
) |
void FSSetStateChangeNotification | ( | FSClient * | client, |
FSStateChangeParams * | info | ||
) |
FSStatus FSGetCwd | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
char * | buffer, | ||
uint32_t | bufferSize, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSChangeDir | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | path, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSChangeDirAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | path, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSAsyncResult* FSGetAsyncResult | ( | FSMessage * | message | ) |
FSStatus FSGetStat | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | path, | ||
FSStat * | stat, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSGetStatAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | path, | ||
FSStat * | stat, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSRemove | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | path, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSRemoveAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | path, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSOpenFile | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | path, | ||
const char * | mode, | ||
FSFileHandle * | handle, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSOpenFileAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | path, | ||
const char * | mode, | ||
FSFileHandle * | outHandle, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSCloseFile | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
FSFileHandle | handle, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSCloseFileAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
FSFileHandle | handle, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSOpenFileEx | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | path, | ||
const char * | mode, | ||
FSMode | createMode, | ||
FSOpenFileFlags | openFlag, | ||
uint32_t | preallocSize, | ||
FSFileHandle * | handle, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSOpenFileExAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | path, | ||
const char * | mode, | ||
FSMode | createMode, | ||
FSOpenFileFlags | openFlag, | ||
uint32_t | preallocSize, | ||
FSFileHandle * | handle, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSOpenDir | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | path, | ||
FSDirectoryHandle * | handle, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSOpenDirAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | path, | ||
FSDirectoryHandle * | handle, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSMakeDir | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | path, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSMakeDirAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | path, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSReadDir | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
FSDirectoryHandle | handle, | ||
FSDirectoryEntry * | entry, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSReadDirAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
FSDirectoryHandle | handle, | ||
FSDirectoryEntry * | entry, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSRewindDir | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
FSDirectoryHandle | handle, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSCloseDir | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
FSDirectoryHandle | handle, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSGetVolumeInfo | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | path, | ||
FSVolumeInfo * | volumeInfo, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSGetVolumeInfoAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | path, | ||
FSVolumeInfo * | volumeInfo, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSCloseDirAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
FSDirectoryHandle | handle, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSChangeMode | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | path, | ||
FSMode | mode, | ||
FSMode | modeMask, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSChangeModeAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | path, | ||
FSMode | mode, | ||
FSMode | modeMask, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSGetFreeSpaceSize | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | path, | ||
uint64_t * | outSize, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSGetFreeSpaceSizeAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | path, | ||
uint64_t * | outSize, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSGetStatFile | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
FSFileHandle | handle, | ||
FSStat * | stat, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSGetStatFileAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
FSFileHandle | handle, | ||
FSStat * | stat, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSReadFile | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
uint8_t * | buffer, | ||
uint32_t | size, | ||
uint32_t | count, | ||
FSFileHandle | handle, | ||
uint32_t | unk1, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSReadFileAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
uint8_t * | buffer, | ||
uint32_t | size, | ||
uint32_t | count, | ||
FSFileHandle | handle, | ||
uint32_t | unk1, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSReadFileWithPos | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
uint8_t * | buffer, | ||
uint32_t | size, | ||
uint32_t | count, | ||
uint32_t | pos, | ||
FSFileHandle | handle, | ||
uint32_t | unk1, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSReadFileWithPosAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
uint8_t * | buffer, | ||
uint32_t | size, | ||
uint32_t | count, | ||
uint32_t | pos, | ||
FSFileHandle | handle, | ||
uint32_t | unk1, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSWriteFile | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
uint8_t * | buffer, | ||
uint32_t | size, | ||
uint32_t | count, | ||
FSFileHandle | handle, | ||
uint32_t | unk1, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSWriteFileAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
uint8_t * | buffer, | ||
uint32_t | size, | ||
uint32_t | count, | ||
FSFileHandle | handle, | ||
uint32_t | unk1, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSWriteFileWithPos | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
uint8_t * | buffer, | ||
uint32_t | size, | ||
uint32_t | count, | ||
uint32_t | pos, | ||
FSFileHandle | handle, | ||
uint32_t | unk1, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSWriteFileWithPosAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
uint8_t * | buffer, | ||
uint32_t | size, | ||
uint32_t | count, | ||
uint32_t | pos, | ||
FSFileHandle | handle, | ||
uint32_t | unk1, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSGetPosFile | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
FSFileHandle | fileHandle, | ||
uint32_t * | pos, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSGetPosFileAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
FSFileHandle | fileHandle, | ||
uint32_t * | pos, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSSetPosFile | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
FSFileHandle | handle, | ||
uint32_t | pos, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSSetPosFileAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
FSFileHandle | handle, | ||
uint32_t | pos, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSFlushFile | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
FSFileHandle | handle, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSFlushFileAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
FSFileHandle | handle, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSTruncateFile | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
FSFileHandle | handle, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSTruncateFileAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
FSFileHandle | handle, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSStatus FSRename | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | oldPath, | ||
const char * | newPath, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSRenameAsync | ( | FSClient * | client, |
FSCmdBlock * | block, | ||
const char * | oldPath, | ||
const char * | newPath, | ||
FSErrorFlag | errorMask, | ||
FSAsyncData * | asyncData | ||
) |
FSVolumeState FSGetVolumeState | ( | FSClient * | client | ) |
FSStatus FSGetMountSource | ( | FSClient * | client, |
FSCmdBlock * | cmd, | ||
FSMountSourceType | type, | ||
FSMountSource * | out, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSMount | ( | FSClient * | client, |
FSCmdBlock * | cmd, | ||
FSMountSource * | source, | ||
const char * | target, | ||
uint32_t | bytes, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSUnmount | ( | FSClient * | client, |
FSCmdBlock * | cmd, | ||
const char * | target, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSBindMount | ( | FSClient * | client, |
FSCmdBlock * | cmd, | ||
const char * | source, | ||
const char * | target, | ||
FSErrorFlag | errorMask | ||
) |
FSStatus FSBindUnmount | ( | FSClient * | client, |
FSCmdBlock * | cmd, | ||
const char * | target, | ||
FSErrorFlag | errorMask | ||
) |
void FSTimeToCalendarTime | ( | FSTime | time, |
OSCalendarTime * | outCalendarTime | ||
) |
File times aren't always available in which case it returns the default 1980-01-01.