X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/61b5cf35c82a5850ceb07fca5232a409e249444c..1b2e8014ab6bc93d0ab0fe320ad3cfc8ed94ab81:/projects/sgconf/common_sg.h 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 +