diff options
author | TheOfficialFloW | 2017-06-25 16:54:28 +0200 |
---|---|---|
committer | Sunguk Lee | 2017-06-25 23:54:28 +0900 |
commit | 452c2ab79926570991fac2934e954ae2101242b0 (patch) | |
tree | f4097d6f896bff1a3072961298087fa1e990c23c /include/user/npdrm.h | |
parent | add sceKernel(Start|Stop)Module / ksceKernelGetMemBlockBase definitions (#202) (diff) | |
download | vds-libraries-452c2ab79926570991fac2934e954ae2101242b0.tar.gz |
Added new NIDs and new headers (#196)
* Added sceIoPread/sceIoPwrite header
* Added more paf nids and paf header
* Added sceCompat NIDs
* Added SceNpDrm header
* Sorted SceCompat
* Removed duplicated NIDs
* Fixed scePaf nid
* Fixed SceNpDrm name in header and added SceVideoExport
* Fixed brief description
* Added sceIoChstatByFd header
* Added SceVideoExport definition
Diffstat (limited to '')
-rw-r--r-- | include/user/npdrm.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/include/user/npdrm.h b/include/user/npdrm.h new file mode 100644 index 0000000..83a0c03 --- /dev/null +++ b/include/user/npdrm.h @@ -0,0 +1,55 @@ +#ifndef _PSP2_NPDRM_H_ +#define _PSP2_NPDRM_H_ + +#include <psp2/types.h> +#include <stdint.h> + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * Get rif name + * + * @param[out] rif_name - RIF name buffer (48 bytes) + * + * @param[in] unk - Unknown, use 0 + * + * @param[in] aid - Account ID + * + * @return 0 on success, < 0 on error. +*/ +int _sceNpDrmGetRifName(char *rif_name, int unk, uint64_t aid); + +/** + * Get fixed rif name + * + * @param[out] rif_name - RIF name buffer (48 bytes) + * + * @param[in] unk - Unknown, use 0 + * + * @param[in] aid - Account ID + * + * @return 0 on success, < 0 on error. +*/ +int _sceNpDrmGetFixedRifName(char *rif_name, int unk, uint64_t aid); + +/** + * Get rif name for install + * + * @param[out] rif_name - RIF name buffer (48 bytes) + * + * @param[in] rif_data - Data of RIF file (512 bytes) + * + * @param[in] unk - Unknown, use 0 + * + * @return 0 on success, < 0 on error. +*/ +int _sceNpDrmGetRifNameForInstall(char *rif_name, const void *rif_data, int unk); + +#ifdef __cplusplus +} +#endif + +#endif /* _PSP2_NPDRM_H_ */ + |