]> git.stg.codes - stg.git/blobdiff - projects/sgconf/common_sg.h
Added services management.
[stg.git] / projects / sgconf / common_sg.h
index 59e27a3705dbfcafcd9a57c435d73a23aa3116f0..323a8cf8f1dead9d437ef6c2c554af29f4455509 100644 (file)
@@ -34,6 +34,9 @@
 
 #include <string>
 
+struct USER_CONF_RES;
+struct USER_STAT_RES;
+
 void UsageConf();
 void UsageInfo();
 
@@ -63,7 +66,9 @@ bool ProcessSetUser(const std::string & server,
                     int port,
                     const std::string & admLogin,
                     const std::string & admPasswd,
-                    const std::string & str);
+                    const std::string & user,
+                    const USER_CONF_RES & conf,
+                    const USER_STAT_RES & stat);
 
 bool ProcessSendMessage(const std::string & server, uint16_t port,
                         const std::string & login, const std::string & password,