X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/61b5cf35c82a5850ceb07fca5232a409e249444c..e3703f791ff52f6d7a9d6f9e8dca37a506967c2b:/projects/sgconf/common_sg.h?ds=sidebyside diff --git a/projects/sgconf/common_sg.h b/projects/sgconf/common_sg.h index 03090a76..a5cbffad 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,19 +50,22 @@ int ProcessGetUser(const std::string &server, const std::string &admLogin, const std::string &admPasswd, const std::string &login, - REQUEST & request); + void * data); int ProcessAuthBy(const std::string &server, int port, const std::string &admLogin, const std::string &admPasswd, - const std::string &login); + const std::string &login, + void * data); 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 +