libnx
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 "../services/sm.h"
10 #include "../services/fs.h"
11 
12 Result fsprInitialize(void);
13 void fsprExit(void);
14 
15 Result fsprRegisterProgram(u64 pid, u64 titleID, FsStorageId storageID, const void *fs_access_header, size_t fah_size, const void *fs_access_control, size_t fac_size);
16 Result fsprUnregisterProgram(u64 pid);
17 Result fsprSetCurrentProcess(void);
18 Result fsprSetEnabledProgramVerification(bool enabled);
u32 Result
Function error code result type.
Definition: types.h:46
uint64_t u64
64-bit unsigned integer.
Definition: types.h:24