mirror of
https://github.com/IllusionMan1212/vitasdk-odin.git
synced 2026-10-24 02:12:38 +00:00
update to latest vita-headers
This commit is contained in:
+8
-6
@@ -56,20 +56,22 @@ foreign npdrm {
|
||||
*
|
||||
* @return 0 on success, < 0 on error.
|
||||
*/
|
||||
_sceNpDrmGetRifNameForInstall :: proc(rif_name: [^]c.char, rif_data: rawptr, unk: c.int) -> c.int ---
|
||||
_sceNpDrmGetRifNameForInstall :: proc(rif_name: [^]c.char, rif_data: *SceNpDrmLicense, unk: c.int) -> c.int ---
|
||||
|
||||
/**
|
||||
* Get PSM rif key
|
||||
*
|
||||
* @param[in] license_buf - RIF buffer (1024 bytes)
|
||||
*
|
||||
* @param[out] keydata - Decrypted key data
|
||||
* @param[out] keydata - Decrypted keyset
|
||||
*
|
||||
* @param[out] exp_time - Expire times output
|
||||
*
|
||||
* @param[in] flags - Unknown
|
||||
*
|
||||
* @return 0 on success, < 0 on error
|
||||
*/
|
||||
scePsmDrmGetRifKey :: proc(#by_ptr license_buf: ScePsmDrmLicense, keydata: [^]c.char, flags: c.int) -> c.int ---
|
||||
scePsmDrmGetRifKey :: proc(#by_ptr license_buf: ScePsmDrmLicense, keydata: *ScePsmDrmKeySet, flags: c.int, exp_time: *ScePsmDrmExpireTime) -> c.int ---
|
||||
}
|
||||
|
||||
foreign npdrmpackage {
|
||||
@@ -154,7 +156,7 @@ foreign npdrmkern {
|
||||
*
|
||||
* @return 0 on success, < 0 on error.
|
||||
*/
|
||||
ksceNpDrmGetRifVitaKey :: proc(license: rawptr, klicense: rawptr, flags: ^c.int, sku_flags: ^c.int, lic_start_time: ^sce.UInt64, lic_exp_time: ^sce.UInt64) -> c.int ---
|
||||
ksceNpDrmGetRifVitaKey :: proc(license: ^SceNpDrmLicense, klicense: rawptr, flags: ^c.int, sku_flags: ^c.int, lic_start_time: ^sce.UInt64, lic_exp_time: ^sce.UInt64) -> c.int ---
|
||||
|
||||
/**
|
||||
* Get license key info for a PSP game
|
||||
@@ -167,7 +169,7 @@ foreign npdrmkern {
|
||||
*
|
||||
* @return 0 on success, < 0 on error.
|
||||
*/
|
||||
ksceNpDrmGetRifPspKey :: proc(license: rawptr, klicense: rawptr, flags: c.int, lic_start_time: ^sce.UInt64, lic_exp_time: ^sce.UInt64) -> c.int ---
|
||||
ksceNpDrmGetRifPspKey :: proc(license: ^SceNpDrmLicense, klicense: rawptr, flags: c.int, lic_start_time: ^sce.UInt64, lic_exp_time: ^sce.UInt64) -> c.int ---
|
||||
|
||||
/**
|
||||
* Get license info
|
||||
@@ -187,7 +189,7 @@ foreign npdrmkern {
|
||||
*
|
||||
* @return 0 on success, < 0 on error.
|
||||
*/
|
||||
ksceNpDrmGetRifInfo :: proc(license: rawptr, license_size: sce.Size, check_sign: c.int, content_id: [^]c.char, account_id: ^sce.UInt64, license_version: ^c.int, license_flags: ^c.int, flags: ^c.int, sku_flags: ^c.int, lic_start_time: ^sce.Int64, lic_exp_time: ^sce.Int64, flags2: ^sce.UInt64) -> c.int ---
|
||||
ksceNpDrmGetRifInfo :: proc(license: ^SceNpDrmLicense, license_size: sce.Size, check_sign: c.int, content_id: [^]c.char, account_id: ^sce.UInt64, license_version: ^c.int, license_flags: ^c.int, flags: ^c.int, sku_flags: ^c.int, lic_start_time: ^sce.Int64, lic_exp_time: ^sce.Int64, flags2: ^sce.UInt64) -> c.int ---
|
||||
|
||||
/**
|
||||
* Verify a eboot.pbp signature "__sce_ebootpbp"
|
||||
|
||||
Reference in New Issue
Block a user