mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
22 lines
576 B
C
22 lines
576 B
C
/**
|
|
* @file smm.h
|
|
* @brief ServiceManager-IManager (sm:m) service IPC wrapper.
|
|
* @author SciresM
|
|
* @copyright libnx Authors
|
|
*/
|
|
#pragma once
|
|
#include "../types.h"
|
|
#include "../sf/service.h"
|
|
|
|
/// Initialize sm:m.
|
|
Result smManagerInitialize(void);
|
|
|
|
/// Exit sm:m.
|
|
void smManagerExit(void);
|
|
|
|
/// Gets the Service object for the actual sm:m service session.
|
|
Service* smManagerGetServiceSession(void);
|
|
|
|
Result smManagerRegisterProcess(u64 pid, const void *acid_sac, size_t acid_sac_size, const void *aci0_sac, size_t aci0_sac_size);
|
|
Result smManagerUnregisterProcess(u64 pid);
|