X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/7d8f69bd16c0e415d771a29c367519f26184ffae..2a1f23881feba670f3bb614e19409b5f4e90b211:/stglibs/srvconf.lib/include/stg/servconf.h diff --git a/stglibs/srvconf.lib/include/stg/servconf.h b/stglibs/srvconf.lib/include/stg/servconf.h index 0b929317..63987fd8 100644 --- a/stglibs/srvconf.lib/include/stg/servconf.h +++ b/stglibs/srvconf.lib/include/stg/servconf.h @@ -55,8 +55,10 @@ public: int GetUsers(GET_USERS::CALLBACK f, void * data); int GetUser(const std::string & login, GET_USER::CALLBACK f, void * data); int ChgUser(const std::string & request, SIMPLE::CALLBACK f, void * data); + int DelUser(const std::string & login, SIMPLE::CALLBACK f, void * data); + int AddUser(const std::string & login, SIMPLE::CALLBACK f, void * data); int AuthBy(const std::string & login, AUTH_BY::CALLBACK f, void * data); - int SendMessage(const std::string & request, SIMPLE::CALLBACK f, void * data); + int SendMessage(const std::string & login, const std::string & text, SIMPLE::CALLBACK f, void * data); int CheckUser(const std::string & login, const std::string & password, SIMPLE::CALLBACK f, void * data); const std::string & GetStrError() const;