]> git.stg.codes - stg.git/blobdiff - projects/sgconf/common_sg.h
Change map<std::string, USER_PROPERTY_BASE *> on REGISTRY in USER_PROPERTY_LOGGED
[stg.git] / projects / sgconf / common_sg.h
index 4bff0aa7ae2f74a5216faa9d03dcb2e0277147f1..323a8cf8f1dead9d437ef6c2c554af29f4455509 100644 (file)
 #define COMMON_SG_H
 
 #include "stg/servconf.h"
 #define COMMON_SG_H
 
 #include "stg/servconf.h"
+#include "stg/servconf_types.h"
 #include "request.h"
 
 #include <string>
 
 #include "request.h"
 
 #include <string>
 
+struct USER_CONF_RES;
+struct USER_STAT_RES;
+
 void UsageConf();
 void UsageInfo();
 
 void UsageConf();
 void UsageInfo();
 
@@ -62,10 +66,12 @@ bool ProcessSetUser(const std::string & server,
                     int port,
                     const std::string & admLogin,
                     const std::string & admPasswd,
                     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,
 
 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
 
 #endif