Exports for Kernel.
Using this library in your project
Include the header file in your project:
Link the library to the executable:
|
| VITASDK_BUILD_ASSERT_EQ (0x10, ScePfsRndDriveId) |
|
int | kscePfsMount (const char *path, const ScePfsRndDriveId *rnd_drive_id, SceUInt64 program_authority_id, const void *klicensee, uint16_t mode_index) |
| Mount pfs directory. More...
|
|
int | kscePfsMount2 (const char *path, const ScePfsRndDriveId *rnd_drive_id, const void *klicensee, uint16_t mode_index) |
| Mount pfs directory without authid. More...
|
|
int | kscePfsUnmount (const ScePfsRndDriveId *rnd_drive_id) |
| Unmount pfs directory. More...
|
|
int | kscePfsApprove (const ScePfsRndDriveId *rnd_drive_id, SceUInt64 program_authority_id) |
|
int | kscePfsDisapprove (const ScePfsRndDriveId *rnd_drive_id, SceUInt64 program_authority_id) |
|
◆ ScePfsRndDriveId
Data Fields |
char |
drive_id[0x10] |
|
◆ VITASDK_BUILD_ASSERT_EQ()
◆ kscePfsMount()
int kscePfsMount |
( |
const char * |
path, |
|
|
const ScePfsRndDriveId * |
rnd_drive_id, |
|
|
SceUInt64 |
program_authority_id, |
|
|
const void * |
klicensee, |
|
|
uint16_t |
mode_index |
|
) |
| |
Mount pfs directory.
- Parameters
-
[in] | path | - The pfs encrypted directory path |
[in] | rnd_drive_id | - The pfs mount target Pseudo Drive strings |
[in] | authid | - The authid |
[in] | klicensee | - The klicensee |
[in] | mode_index | - The mode_index |
- Returns
- 0 on success, < 0 on error.
◆ kscePfsMount2()
int kscePfsMount2 |
( |
const char * |
path, |
|
|
const ScePfsRndDriveId * |
rnd_drive_id, |
|
|
const void * |
klicensee, |
|
|
uint16_t |
mode_index |
|
) |
| |
Mount pfs directory without authid.
- Parameters
-
[in] | path | - The pfs encrypted directory path |
[in] | rnd_drive_id | - The pfs mount target Pseudo Drive strings |
[in] | klicensee | - The klicensee |
[in] | mode_index | - The mode_index |
- Returns
- 0 on success, < 0 on error.
◆ kscePfsUnmount()
Unmount pfs directory.
- Parameters
-
[in] | rnd_drive_id | - The pfs mount drive strings |
- Returns
- 0 on success, < 0 on error.
◆ kscePfsApprove()
◆ kscePfsDisapprove()