git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some changes in crypto.lib. Added tests.
[stg.git]
/
projects
/
stargazer
/
traffcounter_impl.h
diff --git
a/projects/stargazer/traffcounter_impl.h
b/projects/stargazer/traffcounter_impl.h
index f4049433717972955a618818ecc29768e0ac2970..12439313e9a05a9cdb10afb817da7777f303776f 100644
(file)
--- a/
projects/stargazer/traffcounter_impl.h
+++ b/
projects/stargazer/traffcounter_impl.h
@@
-186,8
+186,6
@@
public:
TRAFFCOUNTER_IMPL(USERS_IMPL * users, const std::string & rulesFileName);
~TRAFFCOUNTER_IMPL();
TRAFFCOUNTER_IMPL(USERS_IMPL * users, const std::string & rulesFileName);
~TRAFFCOUNTER_IMPL();
- void SetRulesFile(const std::string & rulesFileName);
-
int Reload();
int Start();
int Stop();
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();
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);
bool ReadRules(bool test = false);
static void * Run(void * data);
@@
-241,6
+238,7
@@
private:
std::string monitorDir;
bool monitoring;
std::string monitorDir;
bool monitoring;
+ time_t touchTimeP;
USERS_IMPL * users;
USERS_IMPL * users;