libnx
v4.2.0
include
switch
services
spsm.h
Go to the documentation of this file.
1
/**
2
* @file spsm.h
3
* @brief SPSM service IPC wrapper.
4
* @author SciresM
5
* @copyright libnx Authors
6
*/
7
#pragma once
8
#include "../types.h"
9
#include "../sf/service.h"
10
11
/// Initialize spsm.
12
Result
spsmInitialize
(
void
);
13
14
/// Exit spsm.
15
void
spsmExit
(
void
);
16
17
/// Gets the Service object for the actual spsm service session.
18
Service
*
spsmGetServiceSession
(
void
);
19
20
Result
spsmShutdown(
bool
reboot);
21
Result
spsmPutErrorState(
void
);
spsmGetServiceSession
Service * spsmGetServiceSession(void)
Gets the Service object for the actual spsm service session.
spsmInitialize
Result spsmInitialize(void)
Initialize spsm.
spsmExit
void spsmExit(void)
Exit spsm.
Result
u32 Result
Function error code result type.
Definition:
types.h:44
Service
Service object structure.
Definition:
service.h:13
Generated by
1.8.17