libnx  v4.2.0
fspr.h
Go to the documentation of this file.
1 /**
2  * @file fspr.h
3  * @brief FilesystemProxy-ProgramRegistry (fsp-pr) service IPC wrapper.
4  * @author SciresM
5  * @copyright libnx Authors
6  */
7 #pragma once
8 #include "../types.h"
9 #include "../sf/service.h"
10 #include "../services/ncm_types.h"
11 
12 /// Initialize fsp-pr.
14 
15 /// Exit fsp-pr.
16 void fsprExit(void);
17 
18 /// Gets the Service object for the actual fsp-pr service session.
20 
21 Result fsprRegisterProgram(u64 pid, u64 tid, NcmStorageId sid, const void *fs_access_header, size_t fah_size, const void *fs_access_control, size_t fac_size);
22 Result fsprUnregisterProgram(u64 pid);
23 Result fsprSetCurrentProcess(void);
24 Result fsprSetEnabledProgramVerification(bool enabled);
NcmStorageId
NcmStorageId
StorageId.
Definition: ncm_types.h:12
fsprGetServiceSession
Service * fsprGetServiceSession(void)
Gets the Service object for the actual fsp-pr service session.
u64
uint64_t u64
64-bit unsigned integer.
Definition: types.h:22
Result
u32 Result
Function error code result type.
Definition: types.h:44
Service
Service object structure.
Definition: service.h:13
fsprExit
void fsprExit(void)
Exit fsp-pr.
fsprInitialize
Result fsprInitialize(void)
Initialize fsp-pr.