#pragma once #include <3ds/types.h> #include "exheader.h" Result fsregInit(void); void fsregExit(void); Result FSREG_CheckHostLoadId(u64 prog_handle); Result FSREG_LoadProgram(u64 *prog_handle, FS_ProgramInfo *title); Result FSREG_GetProgramInfo(exheader_header *exheader, u32 entry_count, u64 prog_handle); Result FSREG_UnloadProgram(u64 prog_handle); Result FSREG_Unregister(u32 pid); Result FSREG_Register(u32 pid, u64 prog_handle, FS_ProgramInfo *info, void *storageinfo);