]> git.stg.codes - stg.git/blobdiff - projects/sgconf/common_sg.h
Implemented new command line options parser.
[stg.git] / projects / sgconf / common_sg.h
index 87b8509b4e2e4ec4e962c29bfa76749fd86ab8cc..323a8cf8f1dead9d437ef6c2c554af29f4455509 100644 (file)
@@ -34,6 +34,9 @@
 
 #include <string>
 
+struct USER_CONF_RES;
+struct USER_STAT_RES;
+
 void UsageConf();
 void UsageInfo();
 
@@ -63,10 +66,12 @@ 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,
-                        const std::string & requestString);
+                        const std::string & user, const std::string & text);
 
 #endif