libnx  v4.2.1
Data Structures | Enumerations
ncm_types.h File Reference

Content Manager (ncm) service types (see ncm.h for the rest). More...

#include "../types.h"
#include "../crypto/sha256.h"

Go to the source code of this file.

Data Structures

struct  NcmContentId
 ContentId. More...
 
struct  NcmPlaceHolderId
 PlaceHolderId. More...
 
struct  NcmContentMetaKey
 ContentMetaKey. More...
 
struct  NcmApplicationContentMetaKey
 ApplicationContentMetaKey. More...
 
struct  NcmContentInfo
 ContentInfo. More...
 
struct  NcmPackagedContentInfo
 PackagedContentInfo. More...
 
struct  NcmContentMetaInfo
 ContentMetaInfo. More...
 
struct  NcmContentMetaHeader
 ContentMetaHeader. More...
 
struct  NcmApplicationMetaExtendedHeader
 ApplicationMetaExtendedHeader. More...
 
struct  NcmPatchMetaExtendedHeader
 PatchMetaExtendedHeader. More...
 
struct  NcmAddOnContentMetaExtendedHeader
 AddOnContentMetaExtendedHeader. More...
 
struct  NcmSystemUpdateMetaExtendedHeader
 SystemUpdateMetaExtendedHeader. More...
 
struct  NcmProgramLocation
 ProgramLocation. More...
 

Enumerations

enum  NcmStorageId {
  NcmStorageId_None = 0,
  NcmStorageId_Host = 1,
  NcmStorageId_GameCard = 2,
  NcmStorageId_BuiltInSystem = 3,
  NcmStorageId_BuiltInUser = 4,
  NcmStorageId_SdCard = 5,
  NcmStorageId_Any = 6
}
 StorageId. More...
 
enum  NcmContentType {
  NcmContentType_Meta = 0,
  NcmContentType_Program = 1,
  NcmContentType_Data = 2,
  NcmContentType_Control = 3,
  NcmContentType_HtmlDocument = 4,
  NcmContentType_LegalInformation = 5,
  NcmContentType_DeltaFragment = 6
}
 ContentType. More...
 
enum  NcmContentMetaType {
  NcmContentMetaType_Unknown = 0x0,
  NcmContentMetaType_SystemProgram = 0x1,
  NcmContentMetaType_SystemData = 0x2,
  NcmContentMetaType_SystemUpdate = 0x3,
  NcmContentMetaType_BootImagePackage = 0x4,
  NcmContentMetaType_BootImagePackageSafe = 0x5,
  NcmContentMetaType_Application = 0x80,
  NcmContentMetaType_Patch = 0x81,
  NcmContentMetaType_AddOnContent = 0x82,
  NcmContentMetaType_Delta = 0x83
}
 ContentMetaType. More...
 
enum  NcmContentMetaAttribute {
  NcmContentMetaAttribute_None = 0,
  NcmContentMetaAttribute_IncludesExFatDriver = (1U<<( 0 )),
  NcmContentMetaAttribute_Rebootless = (1U<<( 1 ))
}
 ContentMetaAttribute. More...
 
enum  NcmContentInstallType {
  NcmContentInstallType_Full = 0,
  NcmContentInstallType_FragmentOnly = 1,
  NcmContentInstallType_Unknown = 7
}
 ContentInstallType. More...
 

Detailed Description

Content Manager (ncm) service types (see ncm.h for the rest).

Author
Adubbz, zhuowei, and yellows8

Enumeration Type Documentation

◆ NcmContentInstallType

ContentInstallType.

Enumerator
NcmContentInstallType_Full 

Full.

NcmContentInstallType_FragmentOnly 

FragmentOnly.

NcmContentInstallType_Unknown 

Unknown.

◆ NcmContentMetaAttribute

ContentMetaAttribute.

Enumerator
NcmContentMetaAttribute_None 

None.

NcmContentMetaAttribute_IncludesExFatDriver 

IncludesExFatDriver.

NcmContentMetaAttribute_Rebootless 

Rebootless.

◆ NcmContentMetaType

ContentMetaType.

Enumerator
NcmContentMetaType_Unknown 

Unknown.

NcmContentMetaType_SystemProgram 

SystemProgram.

NcmContentMetaType_SystemData 

SystemData.

NcmContentMetaType_SystemUpdate 

SystemUpdate.

NcmContentMetaType_BootImagePackage 

BootImagePackage.

NcmContentMetaType_BootImagePackageSafe 

BootImagePackageSafe.

NcmContentMetaType_Application 

Application.

NcmContentMetaType_Patch 

Patch.

NcmContentMetaType_AddOnContent 

AddOnContent.

NcmContentMetaType_Delta 

Delta.

◆ NcmContentType

ContentType.

Enumerator
NcmContentType_Meta 

Meta.

NcmContentType_Program 

Program.

NcmContentType_Data 

Data.

NcmContentType_Control 

Control.

NcmContentType_HtmlDocument 

HtmlDocument.

NcmContentType_LegalInformation 

LegalInformation.

NcmContentType_DeltaFragment 

DeltaFragment.

◆ NcmStorageId

StorageId.

Enumerator
NcmStorageId_None 

None.

NcmStorageId_Host 

Host.

NcmStorageId_GameCard 

GameCard.

NcmStorageId_BuiltInSystem 

BuiltInSystem.

NcmStorageId_BuiltInUser 

BuiltInUser.

NcmStorageId_SdCard 

SdCard.

NcmStorageId_Any 

Any.