X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..5f488a67d8dae833dcd29b65804abf7904a90a86:/projects/sgconf/common_sg.h?ds=inline diff --git a/projects/sgconf/common_sg.h b/projects/sgconf/common_sg.h index d36ed750..a5cbffad 100644 --- a/projects/sgconf/common_sg.h +++ b/projects/sgconf/common_sg.h @@ -30,7 +30,7 @@ #include -#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,