X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e9cb0683c0b33d8458c1d9b2558bbeb5d101e680..2dec87980c189e52d50ca5a18e525b59b9caf647:/projects/sgconf/common_sg.h diff --git a/projects/sgconf/common_sg.h b/projects/sgconf/common_sg.h index 4bff0aa7..323a8cf8 100644 --- a/projects/sgconf/common_sg.h +++ b/projects/sgconf/common_sg.h @@ -29,10 +29,14 @@ #define COMMON_SG_H #include "stg/servconf.h" +#include "stg/servconf_types.h" #include "request.h" #include +struct USER_CONF_RES; +struct USER_STAT_RES; + void UsageConf(); void UsageInfo(); @@ -62,10 +66,12 @@ bool ProcessSetUser(const std::string & server, int port, const std::string & admLogin, const std::string & admPasswd, - const std::string & str); + const std::string & user, + const USER_CONF_RES & conf, + const USER_STAT_RES & stat); bool ProcessSendMessage(const std::string & server, uint16_t port, const std::string & login, const std::string & password, - const std::string & requestString); + const std::string & user, const std::string & text); #endif