]> git.stg.codes - stg.git/blobdiff - projects/stargazer/traffcounter_impl.h
Ticket 37. The line for changePolicy value added to the m_answer
[stg.git] / projects / stargazer / traffcounter_impl.h
index f4049433717972955a618818ecc29768e0ac2970..12439313e9a05a9cdb10afb817da7777f303776f 100644 (file)
@@ -186,8 +186,6 @@ public:
     TRAFFCOUNTER_IMPL(USERS_IMPL * users, const std::string & rulesFileName);
     ~TRAFFCOUNTER_IMPL();
 
-    void        SetRulesFile(const std::string & rulesFileName);
-
     int         Reload();
     int         Start();
     int         Stop();
@@ -204,7 +202,6 @@ private:
     bool        ParseAddress(const char * ta, RULE * rule) const;
     uint32_t    CalcMask(uint32_t msk) const;
     void        FreeRules();
-    void        PrintRule(RULE rule) const;
     bool        ReadRules(bool test = false);
 
     static void * Run(void * data);
@@ -241,6 +238,7 @@ private:
 
     std::string              monitorDir;
     bool                     monitoring;
+    time_t                   touchTimeP;
 
     USERS_IMPL *             users;