git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50769b4
)
Добавлен тип хранящий детальную статистику
author
Maxim Mamontov
<faust@gts.dp.ua>
Mon, 6 Dec 2010 14:06:01 +0000
(16:06 +0200)
committer
Maxim Mamontov
<faust@gts.dp.ua>
Mon, 6 Dec 2010 14:06:01 +0000
(16:06 +0200)
include/user_stat.h
patch
|
blob
|
history
diff --git
a/include/user_stat.h
b/include/user_stat.h
index eeb73df682506720ad44e99cf491d797f9f98863..126c20f46d0424151ea61592d28268ec8978b453 100644
(file)
--- a/
include/user_stat.h
+++ b/
include/user_stat.h
@@
-28,6
+28,7
@@
#define USER_STAT_H
#include <ctime>
+#include <map>
#include "os_int.h"
#include "resetable.h"
@@
-118,6
+119,8
@@
struct USER_STAT
time_t lastActivityTime;
};
//-----------------------------------------------------------------------------
+typedef std::map<IP_DIR_PAIR, STAT_NODE> TRAFF_STAT;
+//-----------------------------------------------------------------------------
struct USER_STAT_RES
{
USER_STAT_RES()