Service: Make service registration part of the sm implementation
Also enhances the GetServiceHandle implementation to be more accurate.
This commit is contained in:
parent
e5a59ef27c
commit
23ec6b3d8f
6 changed files with 151 additions and 28 deletions
|
@ -107,8 +107,6 @@ void Shutdown();
|
|||
|
||||
/// Map of named ports managed by the kernel, which can be retrieved using the ConnectToPort SVC.
|
||||
extern std::unordered_map<std::string, Kernel::SharedPtr<Kernel::ClientPort>> g_kernel_named_ports;
|
||||
/// Map of services registered with the "srv:" service, retrieved using GetServiceHandle.
|
||||
extern std::unordered_map<std::string, Kernel::SharedPtr<Kernel::ClientPort>> g_srv_services;
|
||||
|
||||
/// Adds a service to the services table
|
||||
void AddService(Interface* interface_);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue