libtransistor
A userland library for the Nintendo Switch
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Typedefs | Functions
ifilesystem.h File Reference

IFileSystem bindings. More...

#include <libtransistor/types.h>
#include <libtransistor/ipc/fs/ifile.h>
#include <libtransistor/ipc/fs/idirectory.h>
Include dependency graph for ifilesystem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef ipc_object_t ifilesystem_t
 

Functions

result_t ifilesystem_create_file (ifilesystem_t obj, uint32_t in_mode, uint64_t in_size, const char in_path[0x301])
 
result_t ifilesystem_delete_file (ifilesystem_t obj, const char in_path[0x301])
 
result_t ifilesystem_create_directory (ifilesystem_t obj, const char in_path[0x301])
 
result_t ifilesystem_delete_directory (ifilesystem_t obj, const char in_path[0x301])
 
result_t ifilesystem_delete_directory_recursively (ifilesystem_t obj, const char in_path[0x301])
 
result_t ifilesystem_rename_file (ifilesystem_t obj, const char in_oldPath[0x301], const char in_newPath[0x301])
 
result_t ifilesystem_rename_directory (ifilesystem_t obj, const char in_oldPath[0x301], const char in_newPath[0x301])
 
result_t ifilesystem_get_entry_type (ifilesystem_t obj, uint32_t *out_unk1, const char in_path[0x301])
 
result_t ifilesystem_open_file (ifilesystem_t obj, ifile_t *out_file, uint32_t in_mode, const char in_path[0x301])
 
result_t ifilesystem_open_directory (ifilesystem_t obj, idirectory_t *out_directory, uint32_t in_unk0, const char in_path[0x301])
 
result_t ifilesystem_commit (ifilesystem_t obj)
 
result_t ifilesystem_get_free_space_size (ifilesystem_t obj, uint64_t *out_totalFreeSpace, const char in_path[0x301])
 
result_t ifilesystem_get_total_space_size (ifilesystem_t obj, uint64_t *out_totalSize, const char in_path[0x301])
 
result_t ifilesystem_clean_directory_recursively (ifilesystem_t obj, const char in_path[0x301])
 
result_t ifilesystem_get_file_time_stamp_raw (ifilesystem_t obj, uint8_t out_timestamp[0x20], const char in_path[0x301])
 

Detailed Description

IFileSystem bindings.