]> git.stg.codes - stg.git/blobdiff - projects/sgconf/common_sg.h
Store parser answer in configproto.
[stg.git] / projects / sgconf / common_sg.h
index d36ed750b6c53163e7a65ca99a0dea90a3747721..a5cbffad86289f16be34308ad61f6e1575346932 100644 (file)
@@ -30,7 +30,7 @@
 
 #include <string>
 
-#include "servconf.h"
+#include "stg/servconf.h"
 #include "request.h"
 
 void UsageConf();
@@ -52,6 +52,13 @@ int ProcessGetUser(const std::string &server,
                    const std::string &login,
                    void * data);
 
+int ProcessAuthBy(const std::string &server,
+                  int port,
+                  const std::string &admLogin,
+                  const std::string &admPasswd,
+                  const std::string &login,
+                  void * data);
+
 int ProcessSetUser(const std::string &server,
                    int port,
                    const std::string &admLogin,