From: Maxim Mamontov Date: Thu, 14 Apr 2011 11:34:49 +0000 (+0300) Subject: Methods USER::AddTraffStat[U|D] removed from interface X-Git-Tag: 2.407~12 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/d05a2f0b9869c82f8c02c37e2a8a158dee671a4c?hp=ab63bdb1aae5a63336718391eb0d32a3fd0f08fb Methods USER::AddTraffStat[U|D] removed from interface --- diff --git a/include/stg/user.h b/include/stg/user.h index 51e8a76d..f0f77bc0 100644 --- a/include/stg/user.h +++ b/include/stg/user.h @@ -62,14 +62,6 @@ public: virtual const TARIFF * GetTariff() const = 0; virtual void ResetNextTariff() = 0; - #ifdef TRAFF_STAT_WITH_PORTS - virtual void AddTraffStatU(int dir, uint32_t ip, uint16_t port, uint32_t len) = 0; - virtual void AddTraffStatD(int dir, uint32_t ip, uint16_t port, uint32_t len) = 0; - #else - virtual void AddTraffStatU(int dir, uint32_t ip, uint32_t len) = 0; - virtual void AddTraffStatD(int dir, uint32_t ip, uint32_t len) = 0; - #endif - virtual const DIR_TRAFF & GetSessionUpload() const = 0; virtual const DIR_TRAFF & GetSessionDownload() const = 0;