mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-07 15:20:31 +00:00
4103908a8d
the win32 and sd_notify components provided a disjointed set of similar high level functionality so we consolidate these duplicate code paths into one that has the same lifecycle regardless of platform to reduce complexity of this feature. this new component is responsible for reporting state changes to the system layer and optionally propagating state change to lokinet requested by the system layer (used by windows service).
8 lines
178 B
C++
8 lines
178 B
C++
#include "service_manager.hpp"
|
|
|
|
namespace llarp::sys
|
|
{
|
|
NOP_SystemLayerHandler _manager{};
|
|
I_SystemLayerManager* const service_manager = &_manager;
|
|
} // namespace llarp::sys
|