X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/c4456f2cae7261f7263e3708ff995bade7da722f..cd64751cac4c56591bee9b0a9c2a626ce40e67db:/projects/sgconf/common_sg.h?ds=inline diff --git a/projects/sgconf/common_sg.h b/projects/sgconf/common_sg.h index a5cbffad..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,22 +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, - void * data); + 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 -