vitasdk
Documentation of the vitasdk
pfsmgr.h
Go to the documentation of this file.
1 
6 #ifndef _PSP2KERN_PFSMGR_H_
7 #define _PSP2KERN_PFSMGR_H_
8 
9 #include <vitasdk/build_utils.h>
10 #include <psp2kern/types.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 typedef struct ScePfsRndDriveId {
17  char drive_id[0x10];
20 
32 int kscePfsMount(const char *path, const ScePfsRndDriveId *rnd_drive_id, SceUInt64 program_authority_id, const void *klicensee, uint16_t mode_index);
33 
44 int kscePfsMount2(const char *path, const ScePfsRndDriveId *rnd_drive_id, const void *klicensee, uint16_t mode_index);
45 
53 int kscePfsUnmount(const ScePfsRndDriveId *rnd_drive_id);
54 
55 int kscePfsApprove(const ScePfsRndDriveId *rnd_drive_id, SceUInt64 program_authority_id);
56 int kscePfsDisapprove(const ScePfsRndDriveId *rnd_drive_id, SceUInt64 program_authority_id);
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 
62 #endif /* _PSP2KERN_PFSMGR_H_ */
int kscePfsUnmount(const ScePfsRndDriveId *rnd_drive_id)
Unmount pfs directory.
VITASDK_BUILD_ASSERT_EQ(0x10, ScePfsRndDriveId)
int kscePfsApprove(const ScePfsRndDriveId *rnd_drive_id, SceUInt64 program_authority_id)
int kscePfsDisapprove(const ScePfsRndDriveId *rnd_drive_id, SceUInt64 program_authority_id)
char drive_id[0x10]
Definition: pfsmgr.h:17
int kscePfsMount2(const char *path, const ScePfsRndDriveId *rnd_drive_id, const void *klicensee, uint16_t mode_index)
Mount pfs directory without authid.
int kscePfsMount(const char *path, const ScePfsRndDriveId *rnd_drive_id, SceUInt64 program_authority_id, const void *klicensee, uint16_t mode_index)
Mount pfs directory.
Definition: pfsmgr.h:16
uint64_t SceUInt64
Definition: types.h:51