9 #include "../services/ncm_types.h"
10 #include "../services/fs.h"
11 #include "../sf/service.h"
FsContentStorageId
Definition: fs.h:186
FsContentAttributes
FsContentAttributes.
Definition: fs.h:370
Result ncmInvalidateRightsIdCache(void)
[9.0.0+]
Result ncmContentStorageRegisterPath(NcmContentStorage *cs, const NcmContentId *content_id, const char *path)
[13.0.0+]
Result ncmContentStorageGetRightsIdFromPlaceHolderIdWithCache(NcmContentStorage *cs, NcmRightsId *out_rights_id, const NcmPlaceHolderId *placeholder_id, const NcmContentId *cache_content_id, FsContentAttributes attr)
[8.0.0+]
Result ncmActivateContentStorage(NcmStorageId storage_id)
[2.0.0+]
Result ncmContentStorageGetTotalSpaceSize(NcmContentStorage *cs, s64 *out_size)
[2.0.0+]
Result ncmContentStorageClearRegisteredPath(NcmContentStorage *cs)
[13.0.0+]
Result ncmContentStorageRepairInvalidFileAttribute(NcmContentStorage *cs)
[4.0.0+]
Result ncmInactivateContentMetaDatabase(NcmStorageId storage_id)
[2.0.0+]
Result ncmContentStorageGetSizeFromPlaceHolderId(NcmContentStorage *cs, s64 *out_size, const NcmPlaceHolderId *placeholder_id)
[4.0.0+]
Result ncmContentStorageGetProgramId(NcmContentStorage *cs, u64 *out, const NcmContentId *content_id, FsContentAttributes attr)
[17.0.0+]
Result ncmContentStorageWriteContentForDebug(NcmContentStorage *cs, const NcmContentId *content_id, s64 offset, const void *data, size_t data_size)
[2.0.0+]
Service * ncmGetServiceSession(void)
Gets the Service object for the actual ncm service session.
Result ncmContentMetaDatabaseGetPlatform(NcmContentMetaDatabase *db, u8 *out, const NcmContentMetaKey *key)
[17.0.0+]
Result ncmContentMetaDatabaseGetRequiredApplicationVersion(NcmContentMetaDatabase *db, u32 *out_version, const NcmContentMetaKey *key)
[2.0.0+]
Result ncmContentStorageGetRightsIdFromContentId(NcmContentStorage *cs, NcmRightsId *out_rights_id, const NcmContentId *content_id, FsContentAttributes attr)
[2.0.0+]
Result ncmContentStorageRevertToPlaceHolder(NcmContentStorage *cs, const NcmPlaceHolderId *placeholder_id, const NcmContentId *old_content_id, const NcmContentId *new_content_id)
[2.0.0+]
Result ncmContentStorageFlushPlaceHolder(NcmContentStorage *cs)
[3.0.0+]
Result ncmCloseContentStorageForcibly(NcmStorageId storage_id)
[1.0.0]
Result ncmContentStorageSetPlaceHolderSize(NcmContentStorage *cs, const NcmPlaceHolderId *placeholder_id, s64 size)
[2.0.0+]
Result ncmActivateFsContentStorage(FsContentStorageId fs_storage_id)
[16.0.0+]
Result ncmContentStorageGetRightsIdFromPlaceHolderId(NcmContentStorage *cs, NcmRightsId *out_rights_id, const NcmPlaceHolderId *placeholder_id, FsContentAttributes attr)
[2.0.0+]
Result ncmContentStorageReadContentIdFile(NcmContentStorage *cs, void *out_data, size_t out_data_size, const NcmContentId *content_id, s64 offset)
[2.0.0+]
Result ncmCloseContentMetaDatabaseForcibly(NcmStorageId storage_id)
[1.0.0]
void ncmExit(void)
Exit ncm.
Result ncmInactivateContentStorage(NcmStorageId storage_id)
[2.0.0+]
Result ncmActivateContentMetaDatabase(NcmStorageId storage_id)
[2.0.0+]
Result ncmContentStorageGetFreeSpaceSize(NcmContentStorage *cs, s64 *out_size)
[2.0.0+]
Result ncmInitialize(void)
Initialize ncm.
Result ncmContentMetaDatabaseGetContentIdByTypeAndIdOffset(NcmContentMetaDatabase *db, NcmContentId *out_content_id, const NcmContentMetaKey *key, NcmContentType type, u8 id_offset)
[5.0.0+]
NcmStorageId
StorageId.
Definition: ncm_types.h:12
NcmContentInstallType
ContentInstallType.
Definition: ncm_types.h:57
NcmContentMetaType
ContentMetaType.
Definition: ncm_types.h:34
NcmContentType
ContentType.
Definition: ncm_types.h:23
ApplicationContentMetaKey.
Definition: ncm_types.h:88
ContentId.
Definition: ncm_types.h:69
ContentInfo.
Definition: ncm_types.h:94
ContentMetaDatabase.
Definition: ncm.h:19
Service s
IContentMetaDatabase.
Definition: ncm.h:20
ContentMetaKey.
Definition: ncm_types.h:79
ContentStorage.
Definition: ncm.h:14
Service s
IContentStorage.
Definition: ncm.h:15
PlaceHolderId.
Definition: ncm_types.h:74
RightsId.
Definition: ncm.h:24
u8 key_generation
[3.0.0+]
Definition: ncm.h:26
Service object structure.
Definition: service.h:14
int64_t s64
64-bit signed integer.
Definition: types.h:28
uint64_t u64
64-bit unsigned integer.
Definition: types.h:22
uint8_t u8
8-bit unsigned integer.
Definition: types.h:19
u32 Result
Function error code result type.
Definition: types.h:44
int32_t s32
32-bit signed integer.
Definition: types.h:27
uint32_t u32
32-bit unsigned integer.
Definition: types.h:21