virtual bool FindService(const std::string & name, SERVICE_CONF & service) = 0;
virtual bool ServiceExists(const std::string & name) const = 0;
virtual const std::string & GetStrError() const = 0;
+ virtual size_t Count() const = 0;
virtual int OpenSearch() const = 0;
virtual int SearchNext(int, SERVICE_CONF * service) const = 0;
virtual int ReadTariffs () = 0;
virtual const TARIFF * FindByName(const std::string & name) const = 0;
virtual const TARIFF * GetNoTariff() const = 0;
- virtual int GetTariffsNum() const = 0;
virtual int Del(const std::string & name, const ADMIN * admin) = 0;
virtual int Add(const std::string & name, const ADMIN * admin) = 0;
virtual int Chg(const TARIFF_DATA & td, const ADMIN * admin) = 0;
virtual void GetTariffsData(std::list<TARIFF_DATA> * tdl) = 0;
+ virtual size_t Count() const = 0;
+
virtual const std::string & GetStrError() const = 0;
};
virtual void Del(const std::string & login, const ADMIN * admin) = 0;
virtual int ReadUsers() = 0;
- virtual int GetUserNum() const = 0;
+ virtual size_t Count() const = 0;
virtual int FindByIPIdx(uint32_t ip, USER_PTR * user) const = 0;
virtual bool IsIPInIndex(uint32_t ip) const = 0;