]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/include/stg/servconf.h
Ticket 12. In the ReadUsers() method: the error variable added; return -1 removed
[stg.git] / stglibs / srvconf.lib / include / stg / servconf.h
index 467671db19e3f2582739f4e8a67ded41aaa1106e..cd37e49e44b984ae84317c17ac3eeb8bc99baf88 100644 (file)
@@ -43,6 +43,9 @@ class SERVCONF
 public:
     SERVCONF(const std::string & server, uint16_t port,
              const std::string & login, const std::string & password);
 public:
     SERVCONF(const std::string & server, uint16_t port,
              const std::string & login, const std::string & password);
+    SERVCONF(const std::string & server, uint16_t port,
+             const std::string & localAddress, uint16_t localPort,
+             const std::string & login, const std::string & password);
     ~SERVCONF();
 
     int ServerInfo(SERVER_INFO::CALLBACK f, void * data);
     ~SERVCONF();
 
     int ServerInfo(SERVER_INFO::CALLBACK f, void * data);