vitasdk
Documentation of the vitasdk
npdrm.h
Go to the documentation of this file.
1
6#ifndef _PSP2_NPDRM_H_
7#define _PSP2_NPDRM_H_
8
9#include <psp2/types.h>
10#include <psp2common/npdrm.h>
11#include <stdint.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17
27int _sceNpDrmGetRifName(char *rif_name, uint64_t aid);
28
38int _sceNpDrmGetFixedRifName(char *rif_name, uint64_t aid);
39
53int _sceNpDrmCheckActData(int *act_type, int *version_flag, SceUInt64 *account_id, SceUInt64 act_exp_time[2]);
54
66int _sceNpDrmGetRifNameForInstall(char *rif_name, const SceNpDrmLicense *rif_data, int unk);
67
81int scePsmDrmGetRifKey(const ScePsmDrmLicense *license_buf, ScePsmDrmKeySet *keydata, int* flags, ScePsmDrmExpireTime* exp_time);
82
83
84#ifdef __cplusplus
85}
86#endif
87
88#endif /* _PSP2_NPDRM_H_ */
int flags
Event flags.
Definition debug.h:3
Definition npdrm.h:48
Definition npdrm.h:24
Definition npdrm.h:17
Definition npdrm.h:73
int _sceNpDrmCheckActData(int *act_type, int *version_flag, SceUInt64 *account_id, SceUInt64 act_exp_time[2])
Check you have npdrm activation data, and get information from it.
int _sceNpDrmGetFixedRifName(char *rif_name, uint64_t aid)
Get fixed rif name.
int _sceNpDrmGetRifName(char *rif_name, uint64_t aid)
Get rif name.
int scePsmDrmGetRifKey(const ScePsmDrmLicense *license_buf, ScePsmDrmKeySet *keydata, int *flags, ScePsmDrmExpireTime *exp_time)
Get PSM rif key.
int _sceNpDrmGetRifNameForInstall(char *rif_name, const SceNpDrmLicense *rif_data, int unk)
Get rif name for install.
uint64_t SceUInt64
Definition types.h:51