]> git.stg.codes - stg.git/blobdiff - projects/sgconf/common_sg.h
Fixed error handling in SetUser.
[stg.git] / projects / sgconf / common_sg.h
index 47069eae08d95640fdcb3b05b504b26243395848..03090a7628fb71fa47db5cea37d5e65bcb8981e1 100644 (file)
 #ifndef COMMON_SG_H
 #define COMMON_SG_H
 
-#include <string>
-
 #include "stg/servconf.h"
 #include "request.h"
 
+#include <string>
+
 void UsageConf();
 void UsageInfo();
 
@@ -56,16 +56,13 @@ int ProcessAuthBy(const std::string &server,
                   int port,
                   const std::string &admLogin,
                   const std::string &admPasswd,
-                  const std::string &login,
-                  REQUEST & request);
+                  const std::string &login);
 
 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
-