vitasdk
Documentation of the vitasdk
npdrmpackage.h File Reference
#include <vitasdk/build_utils.h>
#include <psp2/types.h>
#include <psp2common/sblssmgr.h>

Go to the source code of this file.

Data Structures

struct  SceNpDrmPackageCheckOpt
 
struct  _sceNpDrmPackageDecrypt_opt
 Options for _sceNpDrmPackageDecrypt. More...
 
struct  SceNpDrmPackageStartedOpt
 
struct  SceNpDrmPackageFinishedOpt
 

Functions

 VITASDK_BUILD_ASSERT_EQ (0x20, SceNpDrmPackageCheckOpt)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceNpDrmPackageDecryptOpt)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceNpDrmPackageStartedOpt)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, SceNpDrmPackageFinishedOpt)
 
int _sceNpDrmPackageCheck (const void *buffer, SceSize size, int opt, unsigned int identifier)
 Read the header of the PKG and initialize the context.
 
int _sceNpDrmPackageDecrypt (void *__restrict__ buffer, SceSize size, SceNpDrmPackageDecryptOpt *__restrict__ opt)
 Decrypt a PKG.
 
int _sceNpDrmPackageTransform (const void *buffer, SceSize size, SceSblDmac5HashTransformContext *context, SceUInt32 identifier)
 Update a package hash-transform context.
 
int _sceNpDrmPackageInstallStarted (int identifier, int forwarded_value, const void *message, const SceNpDrmPackageStartedOpt *opt)
 Notify that package installation has started.
 
int _sceNpDrmPackageInstallFinished (int result_code, const void *message, SceSize message_size, const SceNpDrmPackageFinishedOpt *opt)
 Notify that package installation has finished.
 
int _sceNpDrmPackageUninstallStarted (int identifier, int forwarded_value, const void *message, const SceNpDrmPackageStartedOpt *opt)
 Notify that package uninstallation has started.
 
int _sceNpDrmPackageUninstallFinished (int result_code, const void *message, SceSize message_size, const SceNpDrmPackageFinishedOpt *opt)
 Notify that package uninstallation has finished.
 
int _sceNpDrmSaveDataFormatStarted (int identifier, int forwarded_value, const void *message, const SceNpDrmPackageStartedOpt *opt)
 Notify that save-data formatting has started.
 
int _sceNpDrmSaveDataFormatFinished (int result_code, const void *message, SceSize message_size, const SceNpDrmPackageFinishedOpt *opt)
 Notify that save-data formatting has finished.
 
int _sceNpDrmSaveDataInstallStarted (int identifier, int forwarded_value, const void *message, const SceNpDrmPackageStartedOpt *opt)
 Notify that save-data installation has started.
 
int _sceNpDrmSaveDataInstallFinished (int result_code, const void *message, SceSize message_size, const SceNpDrmPackageFinishedOpt *opt)
 Notify that save-data installation has finished.
 
int sceNpDrmPackageInstallOngoing (int identifier, SceUInt32 progress)
 Report package installation progress.
 
SceBool sceNpDrmPackageIsGameExist (void)
 
int sceNpDrmPackageUninstallOngoing (int identifier, SceUInt32 progress)
 Report package uninstallation progress.
 
int sceNpDrmSaveDataFormatOngoing (int identifier, SceUInt32 progress)
 Report save-data formatting progress.
 
int sceNpDrmSaveDataInstallOngoing (int identifier, SceUInt32 progress)
 Report save-data installation progress.