X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..76dfa1976656bc8a0781050b675d9ea5875f8b1b:/projects/sgconf/common_sg.h 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,