]> git.stg.codes - stg.git/blobdiff - projects/sgconf/common_sg.h
Ticket 37. The stgTime argument added in TariffChangeIsAllowed()
[stg.git] / projects / sgconf / common_sg.h
index 03090a7628fb71fa47db5cea37d5e65bcb8981e1..a5cbffad86289f16be34308ad61f6e1575346932 100644 (file)
 #ifndef COMMON_SG_H
 #define COMMON_SG_H
 
 #ifndef COMMON_SG_H
 #define COMMON_SG_H
 
+#include <string>
+
 #include "stg/servconf.h"
 #include "request.h"
 
 #include "stg/servconf.h"
 #include "request.h"
 
-#include <string>
-
 void UsageConf();
 void UsageInfo();
 
 void UsageConf();
 void UsageInfo();
 
@@ -50,19 +50,22 @@ int ProcessGetUser(const std::string &server,
                    const std::string &admLogin,
                    const std::string &admPasswd,
                    const std::string &login,
                    const std::string &admLogin,
                    const std::string &admPasswd,
                    const std::string &login,
-                   REQUEST & request);
+                   void * data);
 
 int ProcessAuthBy(const std::string &server,
                   int port,
                   const std::string &admLogin,
                   const std::string &admPasswd,
 
 int ProcessAuthBy(const std::string &server,
                   int port,
                   const std::string &admLogin,
                   const std::string &admPasswd,
-                  const std::string &login);
+                  const std::string &login,
+                  void * data);
 
 int ProcessSetUser(const std::string &server,
                    int port,
                    const std::string &admLogin,
                    const std::string &admPasswd,
                    const std::string &str,
 
 int ProcessSetUser(const std::string &server,
                    int port,
                    const std::string &admLogin,
                    const std::string &admPasswd,
                    const std::string &str,
+                   void * data,
                    bool isMessage = false);
 
 #endif
                    bool isMessage = false);
 
 #endif
+