libnx  v4.8.0
Data Structures | Functions
ldr.h File Reference

Loader (ldr*) service IPC wrapper. More...

#include "../types.h"
#include "../sf/service.h"
#include "../services/ncm_types.h"

Go to the source code of this file.

Data Structures

struct  LoaderProgramInfoV1
 
struct  LoaderProgramInfo
 
struct  LoaderModuleInfo
 

Functions

Result ldrShellInitialize (void)
 Initialize ldr:shel.
 
void ldrShellExit (void)
 Exit ldr:shel.
 
ServiceldrShellGetServiceSession (void)
 Gets the Service object for the actual ldr:shel service session.
 
Result ldrDmntInitialize (void)
 Initialize ldr:dmnt.
 
void ldrDmntExit (void)
 Exit ldr:dmnt.
 
ServiceldrDmntGetServiceSession (void)
 Gets the Service object for the actual ldr:dmnt service session.
 
Result ldrPmInitialize (void)
 Initialize ldr:pm.
 
void ldrPmExit (void)
 Exit ldr:pm.
 
ServiceldrPmGetServiceSession (void)
 Gets the Service object for the actual ldr:pm service session.
 
Result ldrShellSetProgramArguments (u64 program_id, const void *args, size_t args_size)
 
Result ldrShellFlushArguments (void)
 
Result ldrDmntSetProgramArguments (u64 program_id, const void *args, size_t args_size)
 
Result ldrDmntFlushArguments (void)
 
Result ldrDmntGetProcessModuleInfo (u64 pid, LoaderModuleInfo *out_module_infos, size_t max_out_modules, s32 *num_out)
 
Result ldrPmCreateProcess (u64 pin_id, u32 flags, Handle reslimit_h, Handle *out_process_h)
 
Result ldrPmGetProgramInfo (const NcmProgramLocation *loc, LoaderProgramInfo *out_program_info)
 [19.0.0+/Atmosphere]
 
Result ldrPmGetProgramInfoV1 (const NcmProgramLocation *loc, LoaderProgramInfoV1 *out_program_info)
 [1.0.0-18.1.0/Non-Atmosphere]
 
Result ldrPmPinProgram (const NcmProgramLocation *loc, u64 *out_pin_id)
 
Result ldrPmUnpinProgram (u64 pin_id)
 
Result ldrPmSetEnabledProgramVerification (bool enabled)
 [10.0.0+]
 

Detailed Description

Loader (ldr*) service IPC wrapper.

Author
SciresM