wut  v1.7.0
Wii U Toolchain
Typedefs | Enumerations | Functions
temp.h File Reference
#include <wut.h>
#include <coreinit/filesystem.h>
Include dependency graph for temp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum TEMPTargetPreference TEMPTargetPreference
 
typedef uint64_t TEMPDirId
 

Enumerations

enum  TEMPTargetPreference {
  TEMP_PREF_DEFAULT = 0 ,
  TEMP_PREF_USB = 1
}
 

Functions

FSStatus TEMPInit ()
 
void TEMPShutdown ()
 
FSStatus TEMPCreateAndInitTempDir (uint32_t maxSize, TEMPTargetPreference pref, TEMPDirId *outDir)
 
FSStatus TEMPShutdownTempDir (TEMPDirId tempId)
 
FSStatus TEMPGetDirGlobalPath (TEMPDirId dirId, char *path, uint32_t pathLen)
 
FSStatus TEMPGetDirPath (TEMPDirId dirId, char *path, uint32_t pathLen)
 
FSStatus TEMPChangeDir (FSClient *client, FSCmdBlock *block, TEMPDirId dirId, const char *path, FSErrorFlag errorMask)
 
FSStatus TEMPChangeDirAsync (FSClient *client, FSCmdBlock *block, TEMPDirId dirId, const char *path, FSErrorFlag errorMask, FSAsyncData *asyncData)
 
FSStatus TEMPChangeOthersMode (FSClient *client, FSCmdBlock *block, TEMPDirId dirId, const char *path, FSMode mode, FSErrorFlag errorMask)
 
FSStatus TEMPChangeOthersModeAsync (FSClient *client, FSCmdBlock *block, TEMPDirId dirId, const char *path, FSMode mode, FSErrorFlag errorMask, FSAsyncData *asyncData)
 
FSStatus TEMPGetFreeSpaceSize (FSClient *client, FSCmdBlock *block, TEMPDirId dirId, uint64_t *outSize, FSErrorFlag errorMask)
 
FSStatus TEMPGetFreeSpaceSizeAsync (FSClient *client, FSCmdBlock *block, TEMPDirId dirId, uint64_t *outSize, FSErrorFlag errorMask, FSAsyncData *asyncData)
 
FSStatus TEMPGetStat (FSClient *client, FSCmdBlock *block, TEMPDirId dirId, const char *path, FSStat *stat, FSErrorFlag errorMask)
 
FSStatus TEMPGetStatAsync (FSClient *client, FSCmdBlock *block, TEMPDirId dirId, const char *path, FSStat *stat, FSErrorFlag errorMask, FSAsyncData *asyncData)
 
FSStatus TEMPMakeDir (FSClient *client, FSCmdBlock *block, TEMPDirId dirId, const char *path, FSErrorFlag errorMask)
 
FSStatus TEMPMakeDirAsync (FSClient *client, FSCmdBlock *block, TEMPDirId dirId, const char *path, FSErrorFlag errorMask, FSAsyncData *asyncData)
 
FSStatus TEMPOpenDir (FSClient *client, FSCmdBlock *block, TEMPDirId dirId, const char *path, FSDirectoryHandle *handle, FSErrorFlag errorMask)
 
FSStatus TEMPOpenDirAsync (FSClient *client, FSCmdBlock *block, TEMPDirId dirId, const char *path, FSDirectoryHandle *handle, FSErrorFlag errorMask, FSAsyncData *asyncData)
 
FSStatus TEMPOpenFile (FSClient *client, FSCmdBlock *block, TEMPDirId dirId, const char *path, const char *mode, FSFileHandle *handle, FSErrorFlag errorMask)
 
FSStatus TEMPOpenFileAsync (FSClient *client, FSCmdBlock *block, TEMPDirId dirId, const char *path, const char *mode, FSFileHandle *outHandle, FSErrorFlag errorMask, FSAsyncData *asyncData)
 
FSStatus TEMPRemove (FSClient *client, FSCmdBlock *block, TEMPDirId dirId, const char *path, FSErrorFlag errorMask)
 
FSStatus TEMPRemoveAsync (FSClient *client, FSCmdBlock *block, TEMPDirId dirId, const char *path, FSErrorFlag errorMask, FSAsyncData *asyncData)
 
FSStatus TEMPRename (FSClient *client, FSCmdBlock *block, TEMPDirId dirId, const char *oldPath, const char *newPath, FSErrorFlag errorMask)
 
FSStatus TEMPRenameAsync (FSClient *client, FSCmdBlock *block, TEMPDirId dirId, const char *oldPath, const char *newPath, FSErrorFlag errorMask, FSAsyncData *asyncData)
 
FSStatus TEMPMountTempDir (TEMPDirId dirId)
 
FSStatus TEMPUnmountTempDir (TEMPDirId dirId)
 
FSStatus TEMPOpenNewFile ()
 Always returns FS_STATUS_UNSUPPORTED_CMD. More...
 
FSStatus TEMPOpenNewFileAsync ()
 Always returns FS_STATUS_UNSUPPORTED_CMD. More...
 

Typedef Documentation

◆ TEMPTargetPreference

◆ TEMPDirId

typedef uint64_t TEMPDirId

Definition at line 18 of file temp.h.

Enumeration Type Documentation

◆ TEMPTargetPreference

Enumerator
TEMP_PREF_DEFAULT 

Use whichever target has more available space.

TEMP_PREF_USB 

Always prefer USB.

Definition at line 10 of file temp.h.

Function Documentation

◆ TEMPInit()

FSStatus TEMPInit ( )

◆ TEMPShutdown()

void TEMPShutdown ( )

◆ TEMPCreateAndInitTempDir()

FSStatus TEMPCreateAndInitTempDir ( uint32_t  maxSize,
TEMPTargetPreference  pref,
TEMPDirId outDir 
)

◆ TEMPShutdownTempDir()

FSStatus TEMPShutdownTempDir ( TEMPDirId  tempId)

◆ TEMPGetDirGlobalPath()

FSStatus TEMPGetDirGlobalPath ( TEMPDirId  dirId,
char *  path,
uint32_t  pathLen 
)

◆ TEMPGetDirPath()

FSStatus TEMPGetDirPath ( TEMPDirId  dirId,
char *  path,
uint32_t  pathLen 
)

◆ TEMPChangeDir()

FSStatus TEMPChangeDir ( FSClient client,
FSCmdBlock block,
TEMPDirId  dirId,
const char *  path,
FSErrorFlag  errorMask 
)

◆ TEMPChangeDirAsync()

FSStatus TEMPChangeDirAsync ( FSClient client,
FSCmdBlock block,
TEMPDirId  dirId,
const char *  path,
FSErrorFlag  errorMask,
FSAsyncData asyncData 
)

◆ TEMPChangeOthersMode()

FSStatus TEMPChangeOthersMode ( FSClient client,
FSCmdBlock block,
TEMPDirId  dirId,
const char *  path,
FSMode  mode,
FSErrorFlag  errorMask 
)

◆ TEMPChangeOthersModeAsync()

FSStatus TEMPChangeOthersModeAsync ( FSClient client,
FSCmdBlock block,
TEMPDirId  dirId,
const char *  path,
FSMode  mode,
FSErrorFlag  errorMask,
FSAsyncData asyncData 
)

◆ TEMPGetFreeSpaceSize()

FSStatus TEMPGetFreeSpaceSize ( FSClient client,
FSCmdBlock block,
TEMPDirId  dirId,
uint64_t *  outSize,
FSErrorFlag  errorMask 
)

◆ TEMPGetFreeSpaceSizeAsync()

FSStatus TEMPGetFreeSpaceSizeAsync ( FSClient client,
FSCmdBlock block,
TEMPDirId  dirId,
uint64_t *  outSize,
FSErrorFlag  errorMask,
FSAsyncData asyncData 
)

◆ TEMPGetStat()

FSStatus TEMPGetStat ( FSClient client,
FSCmdBlock block,
TEMPDirId  dirId,
const char *  path,
FSStat stat,
FSErrorFlag  errorMask 
)

◆ TEMPGetStatAsync()

FSStatus TEMPGetStatAsync ( FSClient client,
FSCmdBlock block,
TEMPDirId  dirId,
const char *  path,
FSStat stat,
FSErrorFlag  errorMask,
FSAsyncData asyncData 
)

◆ TEMPMakeDir()

FSStatus TEMPMakeDir ( FSClient client,
FSCmdBlock block,
TEMPDirId  dirId,
const char *  path,
FSErrorFlag  errorMask 
)

◆ TEMPMakeDirAsync()

FSStatus TEMPMakeDirAsync ( FSClient client,
FSCmdBlock block,
TEMPDirId  dirId,
const char *  path,
FSErrorFlag  errorMask,
FSAsyncData asyncData 
)

◆ TEMPOpenDir()

FSStatus TEMPOpenDir ( FSClient client,
FSCmdBlock block,
TEMPDirId  dirId,
const char *  path,
FSDirectoryHandle handle,
FSErrorFlag  errorMask 
)

◆ TEMPOpenDirAsync()

FSStatus TEMPOpenDirAsync ( FSClient client,
FSCmdBlock block,
TEMPDirId  dirId,
const char *  path,
FSDirectoryHandle handle,
FSErrorFlag  errorMask,
FSAsyncData asyncData 
)

◆ TEMPOpenFile()

FSStatus TEMPOpenFile ( FSClient client,
FSCmdBlock block,
TEMPDirId  dirId,
const char *  path,
const char *  mode,
FSFileHandle handle,
FSErrorFlag  errorMask 
)

◆ TEMPOpenFileAsync()

FSStatus TEMPOpenFileAsync ( FSClient client,
FSCmdBlock block,
TEMPDirId  dirId,
const char *  path,
const char *  mode,
FSFileHandle outHandle,
FSErrorFlag  errorMask,
FSAsyncData asyncData 
)

◆ TEMPRemove()

FSStatus TEMPRemove ( FSClient client,
FSCmdBlock block,
TEMPDirId  dirId,
const char *  path,
FSErrorFlag  errorMask 
)

◆ TEMPRemoveAsync()

FSStatus TEMPRemoveAsync ( FSClient client,
FSCmdBlock block,
TEMPDirId  dirId,
const char *  path,
FSErrorFlag  errorMask,
FSAsyncData asyncData 
)

◆ TEMPRename()

FSStatus TEMPRename ( FSClient client,
FSCmdBlock block,
TEMPDirId  dirId,
const char *  oldPath,
const char *  newPath,
FSErrorFlag  errorMask 
)

◆ TEMPRenameAsync()

FSStatus TEMPRenameAsync ( FSClient client,
FSCmdBlock block,
TEMPDirId  dirId,
const char *  oldPath,
const char *  newPath,
FSErrorFlag  errorMask,
FSAsyncData asyncData 
)

◆ TEMPMountTempDir()

FSStatus TEMPMountTempDir ( TEMPDirId  dirId)

◆ TEMPUnmountTempDir()

FSStatus TEMPUnmountTempDir ( TEMPDirId  dirId)

◆ TEMPOpenNewFile()

FSStatus TEMPOpenNewFile ( )

Always returns FS_STATUS_UNSUPPORTED_CMD.

◆ TEMPOpenNewFileAsync()

FSStatus TEMPOpenNewFileAsync ( )

Always returns FS_STATUS_UNSUPPORTED_CMD.