]> git.stg.codes - stg.git/commitdiff
Expanded more abbreviations.
authorMaxim Mamontov <faust.madf@gmail.com>
Fri, 30 May 2014 07:16:33 +0000 (10:16 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Fri, 30 May 2014 07:16:33 +0000 (10:16 +0300)
projects/sgconf/corps.cpp
projects/sgconf/services.cpp
stglibs/srvconf.lib/netunit.h

index 1821770574e27d036aa0561fa6ea0a6fbdc4987a..f079acfc4ef588791681abf45dcdb306b33f484a 100644 (file)
@@ -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, "<name>", GetCorpFunction), "get corporation")
       .Add("add-corp", SGCONF::MakeAPIAction(commands, "<name>", params, AddCorpFunction), "add corporation")
       .Add("get-corps", SGCONF::MakeAPIAction(commands, GetCorpsFunction), "\tget corporation list")
       .Add("get-corp", SGCONF::MakeAPIAction(commands, "<name>", GetCorpFunction), "get corporation")
       .Add("add-corp", SGCONF::MakeAPIAction(commands, "<name>", params, AddCorpFunction), "add corporation")
-      .Add("del-corp", SGCONF::MakeAPIAction(commands, "<name>", DelCorpFunction), "del corporation")
+      .Add("del-corp", SGCONF::MakeAPIAction(commands, "<name>", DelCorpFunction), "delete corporation")
       .Add("chg-corp", SGCONF::MakeAPIAction(commands, "<name>", params, ChgCorpFunction), "change corporation");
 }
       .Add("chg-corp", SGCONF::MakeAPIAction(commands, "<name>", params, ChgCorpFunction), "change corporation");
 }
index b6ce1a33a3a4cba61fcd817cee800b892aea0957..5c63f7e40f206987769fd9f88d0f64328802f954 100644 (file)
@@ -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, "<name>", GetServiceFunction), "get service")
       .Add("add-service", SGCONF::MakeAPIAction(commands, "<name>", params, AddServiceFunction), "add service")
       .Add("get-services", SGCONF::MakeAPIAction(commands, GetServicesFunction), "\tget service list")
       .Add("get-service", SGCONF::MakeAPIAction(commands, "<name>", GetServiceFunction), "get service")
       .Add("add-service", SGCONF::MakeAPIAction(commands, "<name>", params, AddServiceFunction), "add service")
-      .Add("del-service", SGCONF::MakeAPIAction(commands, "<name>", DelServiceFunction), "del service")
+      .Add("del-service", SGCONF::MakeAPIAction(commands, "<name>", DelServiceFunction), "delete service")
       .Add("chg-service", SGCONF::MakeAPIAction(commands, "<name>", params, ChgServiceFunction), "change service");
 }
       .Add("chg-service", SGCONF::MakeAPIAction(commands, "<name>", params, ChgServiceFunction), "change service");
 }
index f87fb3a864de758621200af456a21ec8e4dfbc0f..ce9f8f1c9cadc4ec8f53d6467964b56d31bab967 100644 (file)
@@ -52,6 +52,8 @@ private:
 
     std::string server;
     uint16_t  port;
 
     std::string server;
     uint16_t  port;
+    std::string localAddress;
+    uint16_t localPort;
     std::string login;
     std::string password;
     int outerSocket;
     std::string login;
     std::string password;
     int outerSocket;