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
10#include <psp2kern/types.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16typedef struct ScePfsRndDriveId {
17 char drive_id[0x10];
20
32int kscePfsMount(const char *path, const ScePfsRndDriveId *rnd_drive_id, SceUInt64 program_authority_id, const void *klicensee, uint16_t mode_index);
33
44int kscePfsMount2(const char *path, const ScePfsRndDriveId *rnd_drive_id, const void *klicensee, uint16_t mode_index);
45
53int kscePfsUnmount(const ScePfsRndDriveId *rnd_drive_id);
54
55int kscePfsApprove(const ScePfsRndDriveId *rnd_drive_id, SceUInt64 program_authority_id);
56int kscePfsDisapprove(const ScePfsRndDriveId *rnd_drive_id, SceUInt64 program_authority_id);
57
58#ifdef __cplusplus
59}
60#endif
61
62#endif /* _PSP2KERN_PFSMGR_H_ */
#define VITASDK_BUILD_ASSERT_EQ(__size__, __name__)
Definition build_utils.h:13
int kscePfsUnmount(const ScePfsRndDriveId *rnd_drive_id)
Unmount pfs directory.
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