vitasdk
Documentation of the vitasdk
pss.h
Go to the documentation of this file.
1
7#ifndef _PSP2_PSS_H_
8#define _PSP2_PSS_H_
9
10#include <vitasdk/build_utils.h>
11#include <psp2/types.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17typedef struct ScePssCryptoHandle {
19 uint32_t unk1;
21 uint32_t unk3;
24
25int pss_crypto_open(ScePssCryptoHandle *handle, char *path);
26char *pss_crypto_read(ScePssCryptoHandle *handle, int *mode);
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif /* _PSP2_PSS_H_ */
38
#define VITASDK_BUILD_ASSERT_EQ(__size__, __name__)
Definition build_utils.h:13
void pss_code_mem_flush_icache(const void *, SceSize)
char * pss_crypto_read(ScePssCryptoHandle *handle, int *mode)
int pss_crypto_open(ScePssCryptoHandle *handle, char *path)
SceUID fd
Definition pss.h:18
SceSize size
Definition pss.h:20
int pss_crypto_close(ScePssCryptoHandle *handle)
uint32_t unk3
Definition pss.h:21
uint32_t unk1
Definition pss.h:19
void pss_code_mem_lock(void)
void pss_code_mem_unlock(void)
void * pss_code_mem_alloc(SceSize *)
Definition pss.h:17
unsigned int SceSize
Definition types.h:56
int SceUID
UIDs are used to describe many different kernel objects.
Definition types.h:90