aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/sm/sm.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-11-23 23:59:01 -0500
committerGitHub <noreply@github.com>2018-11-23 23:59:01 -0500
commitf7a1827aaa384863c1a2bdff13a322aa9d89dfd2 (patch)
treeeb824807ab0c0c54b270988b22c0e9d73fcbdc1e /src/core/hle/service/sm/sm.h
parent7c4fb09a7c0a41eb328cbbe6c7774e1cf4e9c1c4 (diff)
parent0080a8da586a97fc8ba0b7a4916b9870ab0ce96e (diff)
Merge pull request #1641 from DarkLordZach/sm-register-unregister
sm: Implement RegisterService and UnregisterService
Diffstat (limited to 'src/core/hle/service/sm/sm.h')
-rw-r--r--src/core/hle/service/sm/sm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/service/sm/sm.h b/src/core/hle/service/sm/sm.h
index 4f8145dda..c4714b3e3 100644
--- a/src/core/hle/service/sm/sm.h
+++ b/src/core/hle/service/sm/sm.h
@@ -35,6 +35,8 @@ public:
private:
void Initialize(Kernel::HLERequestContext& ctx);
void GetService(Kernel::HLERequestContext& ctx);
+ void RegisterService(Kernel::HLERequestContext& ctx);
+ void UnregisterService(Kernel::HLERequestContext& ctx);
std::shared_ptr<ServiceManager> service_manager;
};
@@ -48,6 +50,7 @@ public:
ResultVal<Kernel::SharedPtr<Kernel::ServerPort>> RegisterService(std::string name,
unsigned int max_sessions);
+ ResultCode UnregisterService(std::string name);
ResultVal<Kernel::SharedPtr<Kernel::ClientPort>> GetServicePort(const std::string& name);
ResultVal<Kernel::SharedPtr<Kernel::ClientSession>> ConnectToService(const std::string& name);