X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/f61f588783b68ff542e6735a90a8dcbe9ad8308e..cd64751cac4c56591bee9b0a9c2a626ce40e67db:/projects/sgconf/common_sg.h diff --git a/projects/sgconf/common_sg.h b/projects/sgconf/common_sg.h index a654748a..03090a76 100644 --- a/projects/sgconf/common_sg.h +++ b/projects/sgconf/common_sg.h @@ -28,11 +28,11 @@ #ifndef COMMON_SG_H #define COMMON_SG_H -#include - #include "stg/servconf.h" #include "request.h" +#include + void UsageConf(); void UsageInfo(); @@ -50,15 +50,19 @@ 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); int ProcessSetUser(const std::string &server, int port, const std::string &admLogin, const std::string &admPasswd, const std::string &str, - void * data, bool isMessage = false); #endif -