From: Maxim Mamontov Date: Fri, 30 May 2014 07:16:33 +0000 (+0300) Subject: Expanded more abbreviations. X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/70f71a1009f438ec1d514cb31bfa9ecba6832aec Expanded more abbreviations. --- diff --git a/projects/sgconf/corps.cpp b/projects/sgconf/corps.cpp index 18217705..f079acfc 100644 --- a/projects/sgconf/corps.cpp +++ b/projects/sgconf/corps.cpp @@ -147,6 +147,6 @@ blocks.Add("Corporation management options") .Add("get-corps", SGCONF::MakeAPIAction(commands, GetCorpsFunction), "\tget corporation list") .Add("get-corp", SGCONF::MakeAPIAction(commands, "", GetCorpFunction), "get corporation") .Add("add-corp", SGCONF::MakeAPIAction(commands, "", params, AddCorpFunction), "add corporation") - .Add("del-corp", SGCONF::MakeAPIAction(commands, "", DelCorpFunction), "del corporation") + .Add("del-corp", SGCONF::MakeAPIAction(commands, "", DelCorpFunction), "delete corporation") .Add("chg-corp", SGCONF::MakeAPIAction(commands, "", params, ChgCorpFunction), "change corporation"); } diff --git a/projects/sgconf/services.cpp b/projects/sgconf/services.cpp index b6ce1a33..5c63f7e4 100644 --- a/projects/sgconf/services.cpp +++ b/projects/sgconf/services.cpp @@ -155,6 +155,6 @@ blocks.Add("Service management options") .Add("get-services", SGCONF::MakeAPIAction(commands, GetServicesFunction), "\tget service list") .Add("get-service", SGCONF::MakeAPIAction(commands, "", GetServiceFunction), "get service") .Add("add-service", SGCONF::MakeAPIAction(commands, "", params, AddServiceFunction), "add service") - .Add("del-service", SGCONF::MakeAPIAction(commands, "", DelServiceFunction), "del service") + .Add("del-service", SGCONF::MakeAPIAction(commands, "", DelServiceFunction), "delete service") .Add("chg-service", SGCONF::MakeAPIAction(commands, "", params, ChgServiceFunction), "change service"); } diff --git a/stglibs/srvconf.lib/netunit.h b/stglibs/srvconf.lib/netunit.h index f87fb3a8..ce9f8f1c 100644 --- a/stglibs/srvconf.lib/netunit.h +++ b/stglibs/srvconf.lib/netunit.h @@ -52,6 +52,8 @@ private: std::string server; uint16_t port; + std::string localAddress; + uint16_t localPort; std::string login; std::string password; int outerSocket;