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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/user/pss.h b/include/user/pss.h
index 586f644..1330a6d 100644
--- a/include/user/pss.h
+++ b/include/user/pss.h
@@ -6,7 +6,17 @@
#ifdef __cplusplus
extern "C" {
#endif
+
+typedef struct ScePssCryptoHandle {
+ SceUID fd;
+ uint32_t unk1;
+ SceSize size;
+ uint32_t unk3;
+} ScePssCryptoHandle;
+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);