X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e9cb0683c0b33d8458c1d9b2558bbeb5d101e680..4c064456f5d2093f802b474736d5be5051f857a0:/projects/sgconf/common_sg.h?ds=inline 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