X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d8ed3c9a80357e890fe4a927b92437e8f88b6b7c..6c05b2e63b58b19df2f35707fa12f238a18458e7:/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 b3bb7523..c9908640 100644 --- a/stglibs/srvconf.lib/include/stg/servconf.h +++ b/stglibs/srvconf.lib/include/stg/servconf.h @@ -36,6 +36,7 @@ struct USER_CONF_RES; struct USER_STAT_RES; +struct TARIFF_DATA_RES; namespace STG { @@ -59,6 +60,14 @@ public: SIMPLE::CALLBACK f, void * data); int DelAdmin(const std::string & login, SIMPLE::CALLBACK f, void * data); + int GetTariffs(GET_TARIFFS::CALLBACK f, void * data); + int GetTariff(const std::string & name, GET_TARIFF::CALLBACK f, void * data); + int ChgTariff(const TARIFF_DATA_RES & conf, SIMPLE::CALLBACK f, void * data); + int AddTariff(const std::string & name, + const TARIFF_DATA_RES & conf, + SIMPLE::CALLBACK f, void * data); + int DelTariff(const std::string & name, SIMPLE::CALLBACK f, void * data); + 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 & login,