X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/954d3cb777db09587845bcc8b2d959d7a48e5bed..0907aa4037b12b6b88ee24495d4577a064d4f8db:/projects/sgconf/info.cpp?ds=sidebyside diff --git a/projects/sgconf/info.cpp b/projects/sgconf/info.cpp index 0e98d3dc..421e4389 100644 --- a/projects/sgconf/info.cpp +++ b/projects/sgconf/info.cpp @@ -15,7 +15,7 @@ namespace { -void PrintInfo(const STG::SERVER_INFO::INFO& info) +void PrintInfo(const STG::ServerInfo::Info& info) { std::cout << "Server version: '" << info.version << "'\n" << "Number of tariffs: " << info.tariffNum << "\n" @@ -28,7 +28,7 @@ void PrintInfo(const STG::SERVER_INFO::INFO& info) std::cout << "\t - '" << info.dirName[i] << "'\n"; } -void InfoCallback(bool result, const std::string & reason, const STG::SERVER_INFO::INFO & info, void * /*data*/) +void InfoCallback(bool result, const std::string & reason, const STG::ServerInfo::Info & info, void * /*data*/) { if (!result) { @@ -42,7 +42,7 @@ bool InfoFunction(const SGCONF::CONFIG & config, const std::string& /*arg*/, const std::map & /*options*/) { -STG::SERVCONF proto(config.server.data(), +STG::ServConf proto(config.server.data(), config.port.data(), config.localAddress.data(), config.localPort.data(),