X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..c302e7d5fe848d1b06d3e2b40cd13836525b74a0:/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,