blob: 2a4f37f0aebf79f0ad0acfb42aafc4515601aac1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#ifndef _PSP2_PSS_H_
#define _PSP2_PSS_H_
#include <stdint.h>
#include <scetypes.h>
#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);
void pss_code_mem_unlock(void);
#ifdef __cplusplus
}
#endif
#endif /* _PSP2_PSS_H_ */
|