libnx  v4.6.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);
void fsprExit(void)
Exit fsp-pr.
Result fsprInitialize(void)
Initialize fsp-pr.
Service * fsprGetServiceSession(void)
Gets the Service object for the actual fsp-pr service session.
NcmStorageId
StorageId.
Definition: ncm_types.h:12
Service object structure.
Definition: service.h:14
uint64_t u64
64-bit unsigned integer.
Definition: types.h:22
u32 Result
Function error code result type.
Definition: types.h:44