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
14 extern "C" {
15 #endif
16 
17 
27 int _sceNpDrmGetRifName(char *rif_name, uint64_t aid);
28 
38 int _sceNpDrmGetFixedRifName(char *rif_name, uint64_t aid);
39 
53 int _sceNpDrmCheckActData(int *act_type, int *version_flag, SceUInt64 *account_id, SceUInt64 act_exp_time[2]);
54 
66 int _sceNpDrmGetRifNameForInstall(char *rif_name, const void *rif_data, int unk);
67 
79 int scePsmDrmGetRifKey(const ScePsmDrmLicense *license_buf, char *keydata, int flags);
80 
81 #ifdef __cplusplus
82 }
83 #endif
84 
85 #endif /* _PSP2_NPDRM_H_ */
int flags
Event flags.
Definition: debug.h:3
Definition: npdrm.h:58
int _sceNpDrmGetRifNameForInstall(char *rif_name, const void *rif_data, int unk)
Get rif name for install.
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 scePsmDrmGetRifKey(const ScePsmDrmLicense *license_buf, char *keydata, int flags)
Get PSM rif key.
int _sceNpDrmGetFixedRifName(char *rif_name, uint64_t aid)
Get fixed rif name.
int _sceNpDrmGetRifName(char *rif_name, uint64_t aid)
Get rif name.
uint64_t SceUInt64
Definition: types.h:51