wut
1.0.0-beta9
Wii U Toolchain
|
Go to the documentation of this file.
148 WUT_UNKNOWN_BYTES(0x1700);
154 WUT_UNKNOWN_BYTES(0xA80);
170 WUT_UNKNOWN_BYTES(0x30);
172 WUT_CHECK_OFFSET(
FSStat, 0x00, flags);
173 WUT_CHECK_OFFSET(
FSStat, 0x04, mode);
174 WUT_CHECK_OFFSET(
FSStat, 0x08, owner);
175 WUT_CHECK_OFFSET(
FSStat, 0x0C, group);
176 WUT_CHECK_OFFSET(
FSStat, 0x10, size);
177 WUT_CHECK_OFFSET(
FSStat, 0x14, allocSize);
178 WUT_CHECK_OFFSET(
FSStat, 0x18, quotaSize);
179 WUT_CHECK_OFFSET(
FSStat, 0x20, entryId);
180 WUT_CHECK_OFFSET(
FSStat, 0x24, created);
181 WUT_CHECK_OFFSET(
FSStat, 0x2C, modified);
182 WUT_CHECK_SIZE(
FSStat, 0x64);
186 WUT_UNKNOWN_BYTES(0xC);
195 WUT_UNKNOWN_BYTES(8);
252 WUT_UNKNOWN_BYTES(0x300);
void(* FSAsyncCallback)(FSClient *, FSCmdBlock *, FSStatus, uint32_t)
FSAsyncResult * FSGetAsyncResult(FSMessage *message)
@ FS_VOLUME_STATE_DIRTY_MEDIA
FSStatus FSGetFreeSpaceSizeAsync(FSClient *client, FSCmdBlock *block, char *path, uint64_t *outSize, uint32_t flags, FSAsyncData *asyncData)
FSStatus FSCloseDirAsync(FSClient *client, FSCmdBlock *block, FSDirectoryHandle handle, uint32_t flags, FSAsyncData *asyncData)
@ FS_ERROR_PERMISSION_ERROR
@ FS_STATUS_UNSUPPORTED_CMD
uint32_t FSGetClientNum()
FSError FSGetLastErrorCodeForViewer(FSClient *client)
FSStatus FSSetCmdPriority(FSCmdBlock *block, FSPriority priority)
FSStatus FSGetStat(FSClient *client, FSCmdBlock *block, const char *path, FSStat *stat, uint32_t flags)
@ FS_ERROR_UNSUPPORTED_COMMAND
@ FS_ERROR_INVALID_ALIGNMENT
FSStatus FSReadFile(FSClient *client, FSCmdBlock *block, uint8_t *buffer, uint32_t size, uint32_t count, FSFileHandle handle, uint32_t unk1, uint32_t flags)
FSStatus FSUnmount(FSClient *client, FSCmdBlock *cmd, const char *target, uint32_t flags)
FSStatus FSGetCwd(FSClient *client, FSCmdBlock *block, char *buffer, uint32_t bufferSize, uint32_t flags)
FSStatus FSChangeDir(FSClient *client, FSCmdBlock *block, const char *path, uint32_t flags)
@ FS_ERROR_MEDIA_NOT_READY
@ FS_VOLUME_STATE_WRONG_MEDIA
FSStatus FSbindUnmount(FSClient *client, FSCmdBlock *cmd, const char *target, uint32_t flags)
FSStatus FSOpenFile(FSClient *client, FSCmdBlock *block, const char *path, const char *mode, FSFileHandle *handle, uint32_t flags)
FSStatus FSReadDir(FSClient *client, FSCmdBlock *block, FSDirectoryHandle handle, FSDirectoryEntry *entry, uint32_t flags)
FSStatus FSSetPosFile(FSClient *client, FSCmdBlock *block, FSFileHandle handle, uint32_t pos, uint32_t flags)
FSMessage ioMsg
Message to put into asyncdata.ioMsgQueue.
FSStatus FSWriteFileAsync(FSClient *client, FSCmdBlock *block, uint8_t *buffer, uint32_t size, uint32_t count, FSFileHandle handle, uint32_t unk1, uint32_t flags, FSAsyncData *asyncData)
FSStatus FSWriteFile(FSClient *client, FSCmdBlock *block, uint8_t *buffer, uint32_t size, uint32_t count, FSFileHandle handle, uint32_t unk1, uint32_t flags)
FSStatus FSTruncateFile(FSClient *client, FSCmdBlock *block, FSFileHandle handle, uint32_t flags)
FSStatus FSGetPosFileAsync(FSClient *client, FSCmdBlock *block, FSFileHandle fileHandle, uint32_t *pos, uint32_t flags, FSAsyncData *asyncData)
FSStatus FSReadFileAsync(FSClient *client, FSCmdBlock *block, uint8_t *buffer, uint32_t size, uint32_t count, FSFileHandle handle, uint32_t unk1, uint32_t flags, FSAsyncData *asyncData)
@ FS_ERROR_INVALID_DIRHANDLE
FSStatus FSOpenDir(FSClient *client, FSCmdBlock *block, const char *path, FSDirectoryHandle *handle, uint32_t flags)
FSStatus FSOpenFileAsync(FSClient *client, FSCmdBlock *block, const char *path, const char *mode, FSFileHandle *outHandle, uint32_t flags, FSAsyncData *asyncData)
FSStatus FSCloseFile(FSClient *client, FSCmdBlock *block, FSFileHandle handle, uint32_t flags)
@ FS_ERROR_UNAVAILABLE_COMMAND
@ FS_VOLUME_STATE_NO_MEDIA
FSStatus FSMakeDir(FSClient *client, FSCmdBlock *block, const char *path, uint32_t flags)
FSStatus FSRewindDir(FSClient *client, FSCmdBlock *block, FSDirectoryHandle handle, uint32_t flags)
@ FS_ERROR_DATA_CORRUPTED
FSStatus FSMount(FSClient *client, FSCmdBlock *cmd, FSMountSource *source, const char *target, uint32_t bytes, uint32_t flags)
FSStatus FSSetPosFileAsync(FSClient *client, FSCmdBlock *block, FSFileHandle handle, uint32_t pos, uint32_t flags, FSAsyncData *asyncData)
FSStatus FSGetStatAsync(FSClient *client, FSCmdBlock *block, const char *path, FSStat *stat, uint32_t flags, FSAsyncData *asyncData)
FSStatus FSBindMount(FSClient *client, FSCmdBlock *cmd, const char *source, const char *target, uint32_t flags)
@ FS_VOLUME_STATE_INVALID
@ FS_ERROR_ALREADY_EXISTS
@ FS_VOLUME_STATE_WRITE_PROTECTED
FSStatus FSChangeMode(FSClient *client, FSCmdBlock *block, char *path, FSMode mode, uint32_t flags)
FSStatus FSRemove(FSClient *client, FSCmdBlock *block, const char *path, uint32_t flags)
void FSSetStateChangeNotification(FSClient *client, FSStateChangeInfo *info)
@ FS_ERROR_MAX_MOUNT_POINTS
FSStatus FSWriteFileWithPos(FSClient *client, FSCmdBlock *block, uint8_t *buffer, uint32_t size, uint32_t count, uint32_t pos, FSFileHandle handle, uint32_t unk1, uint32_t flags)
FSStatus FSCloseFileAsync(FSClient *client, FSCmdBlock *block, FSFileHandle handle, uint32_t flags, FSAsyncData *asyncData)
@ FS_ERROR_INVALID_FILEHANDLE
@ FS_VOLUME_STATE_INVALID_MEDIA
@ FS_ERROR_INVALID_CLIENTHANDLE
FSStatus FSGetStatFileAsync(FSClient *client, FSCmdBlock *block, FSFileHandle handle, FSStat *stat, uint32_t flags, FSAsyncData *asyncData)
FSCmdBlock * block
FSCmdBlock which owns this result.
FSStatus FSChangeDirAsync(FSClient *client, FSCmdBlock *block, const char *path, uint32_t flags, FSAsyncData *asyncData)
OSFunctionType type
Type of message.
FSStatus FSReadFileWithPosAsync(FSClient *client, FSCmdBlock *block, uint8_t *buffer, uint32_t size, uint32_t count, uint32_t pos, FSFileHandle handle, uint32_t unk1, uint32_t flags, FSAsyncData *asyncData)
FSVolumeState FSGetVolumeState(FSClient *client)
FSAsyncData asyncData
User supplied async data.
@ FS_ERROR_OUT_OF_RESOURCES
FSStatus FSFlushFile(FSClient *client, FSCmdBlock *block, FSFileHandle handle, uint32_t flags)
FSClient * client
FSClient which owns this result.
FSStatus FSRenameAsync(FSClient *client, FSCmdBlock *block, const char *oldPath, const char *newPath, uint32_t flags, FSAsyncData *asyncData)
@ FS_STATUS_MEDIA_NOT_READY
FSStatus FSCloseDir(FSClient *client, FSCmdBlock *block, FSDirectoryHandle handle, uint32_t flags)
FSStatus FSFlushFileAsync(FSClient *client, FSCmdBlock *block, FSFileHandle handle, uint32_t flags, FSAsyncData *asyncData)
FSStatus FSGetPosFile(FSClient *client, FSCmdBlock *block, FSFileHandle fileHandle, uint32_t *pos, uint32_t flags)
FSStatus FSMakeDirAsync(FSClient *client, FSCmdBlock *block, const char *path, uint32_t flags, FSAsyncData *asyncData)
FSStatus status
The result of the command.
@ FS_ERROR_WRITE_PROTECTED
FSStatus FSTruncateFileAsync(FSClient *client, FSCmdBlock *block, FSFileHandle handle, uint32_t flags, FSAsyncData *asyncData)
FSStatus FSReadDirAsync(FSClient *client, FSCmdBlock *block, FSDirectoryHandle handle, FSDirectoryEntry *entry, uint32_t flags, FSAsyncData *asyncData)
FSStatus FSRename(FSClient *client, FSCmdBlock *block, const char *oldPath, const char *newPath, uint32_t flags)
FSStatus FSOpenDirAsync(FSClient *client, FSCmdBlock *block, const char *path, FSDirectoryHandle *handle, uint32_t flags, FSAsyncData *asyncData)
@ FS_STATUS_PERMISSION_ERROR
FSStatus FSAddClient(FSClient *client, uint32_t flags)
@ FS_VOLUME_STATE_MEDIA_ERROR
@ FS_ERROR_INVALID_BUFFER
@ FS_VOLUME_STATE_INITIAL
@ FS_VOLUME_STATE_JOURNAL_FULL
FSStatus FSReadFileWithPos(FSClient *client, FSCmdBlock *block, uint8_t *buffer, uint32_t size, uint32_t count, uint32_t pos, FSFileHandle handle, uint32_t unk1, uint32_t flags)
FSStatus FSWriteFileWithPosAsync(FSClient *client, FSCmdBlock *block, uint8_t *buffer, uint32_t size, uint32_t count, uint32_t pos, FSFileHandle handle, uint32_t unk1, uint32_t flags, FSAsyncData *asyncData)
FSStatus FSChangeModeAsync(FSClient *client, FSCmdBlock *block, char *path, FSMode mode, uint32_t flags, FSAsyncData *asyncData)
FSStatus FSRemoveAsync(FSClient *client, FSCmdBlock *block, const char *path, uint32_t flags, FSAsyncData *asyncData)
FSStatus FSGetFreeSpaceSize(FSClient *client, FSCmdBlock *block, char *path, uint64_t *outSize, uint32_t flags)
FSStatus FSGetMountSource(FSClient *client, FSCmdBlock *cmd, FSMountSourceType type, FSMountSource *out, uint32_t flags)
uint32_t FSDirectoryHandle
FSStatus FSGetStatFile(FSClient *client, FSCmdBlock *block, FSFileHandle handle, FSStat *stat, uint32_t flags)
Stores the result of an async FS command.
OSMessageQueue * ioMsgQueue
FSStatus FSDelClient(FSClient *client, uint32_t flags)
@ FS_VOLUME_STATE_DATA_CORRUPTED
void FSInitCmdBlock(FSCmdBlock *block)