]> git.stg.codes - stg.git/blobdiff - projects/sgconf/common_sg.h
Added license header.
[stg.git] / projects / sgconf / common_sg.h
index d36ed750b6c53163e7a65ca99a0dea90a3747721..47069eae08d95640fdcb3b05b504b26243395848 100644 (file)
@@ -30,7 +30,7 @@
 
 #include <string>
 
-#include "servconf.h"
+#include "stg/servconf.h"
 #include "request.h"
 
 void UsageConf();
@@ -50,7 +50,14 @@ int ProcessGetUser(const std::string &server,
                    const std::string &admLogin,
                    const std::string &admPasswd,
                    const std::string &login,
-                   void * data);
+                   REQUEST & request);
+
+int ProcessAuthBy(const std::string &server,
+                  int port,
+                  const std::string &admLogin,
+                  const std::string &admPasswd,
+                  const std::string &login,
+                  REQUEST & request);
 
 int ProcessSetUser(const std::string &server,
                    int port,