X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..dd4d8887d9e281e81c4cd511026ed44e7dcf68b4:/projects/sgconf/common_sg.h diff --git a/projects/sgconf/common_sg.h b/projects/sgconf/common_sg.h index d36ed750..47069eae 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(); @@ -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,