summaryrefslogtreecommitdiff
path: root/include/user/pss.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/user/pss.h')
-rw-r--r--include/user/pss.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/user/pss.h b/include/user/pss.h
index d40bc5c..1330a6d 100644
--- a/include/user/pss.h
+++ b/include/user/pss.h
@@ -8,14 +8,15 @@ extern "C" {
#endif
typedef struct ScePssCryptoHandle {
- uint32_t unk0;
+ SceUID fd;
uint32_t unk1;
SceSize size;
uint32_t unk3;
} ScePssCryptoHandle;
-int pss_crypto_open_p(ScePssCryptoHandle *handle, char *path);
-char *pss_crypto_read_p(ScePssCryptoHandle *handle, int *mode);
+int pss_crypto_open(ScePssCryptoHandle *handle, char *path);
+char *pss_crypto_read(ScePssCryptoHandle *handle, int *mode);
+int pss_crypto_close(ScePssCryptoHandle *handle);
void *pss_code_mem_alloc(SceSize *);
void pss_code_mem_flush_icache(const void *, SceSize);
void pss_code_mem_lock(void);