#ifndef SRVCONFIG_HPP #define SRVCONFIG_HPP #include #include #include #include class ServConfig { private: std::map kvmap; std::vector localnets; std::string tunnelnet; int listenport; public: std::expected Read(std::string filename); int Listenport(void); std::string Tunnelnet(void); std::vector Localnets(void); std::expected Validate(void); }; #endif