2019-11-28 10:28:20 +01:00
|
|
|
/**
|
|
|
|
* @file fs_shim.h
|
|
|
|
* @brief Filesystem Services (fs) IPC wrapper for fs.mitm.
|
|
|
|
* @author SciresM
|
|
|
|
* @copyright libnx Authors
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <switch.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Missing fsp-srv commands. */
|
2019-12-06 08:41:33 +01:00
|
|
|
Result fsOpenSdCardFileSystemFwd(Service* s, FsFileSystem* out);
|
2019-11-28 10:28:20 +01:00
|
|
|
Result fsOpenBisStorageFwd(Service* s, FsStorage* out, FsBisPartitionId partition_id);
|
2019-12-04 15:53:52 +01:00
|
|
|
Result fsOpenDataStorageByCurrentProcessFwd(Service* s, FsStorage* out);
|
|
|
|
Result fsOpenDataStorageByDataIdFwd(Service* s, FsStorage* out, u64 data_id, NcmStorageId storage_id);
|
|
|
|
|
2019-12-07 08:19:48 +01:00
|
|
|
Result fsOpenSaveDataFileSystemFwd(Service* s, FsFileSystem* out, FsSaveDataSpaceId save_data_space_id, const FsSaveDataAttribute *attr);
|
|
|
|
|
2019-11-28 10:28:20 +01:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|