git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved base and utility classes from global scope.
[stg.git]
/
projects
/
sgconf
/
request.h
diff --git
a/projects/sgconf/request.h
b/projects/sgconf/request.h
index 6122212732aa5206359a6eb8342c717de401c61a..bca3c148e1892f1e0306c2683a3aec8cbb6b81e7 100644
(file)
--- a/
projects/sgconf/request.h
+++ b/
projects/sgconf/request.h
@@
-54,12
+54,14
@@
REQUEST()
{
for (int i = 0; i < DIR_NUM; i++)
{
{
for (int i = 0; i < DIR_NUM; i++)
{
- u[i].reset();
- d[i].reset();
+ sessionUpload[i].reset();
+ sessionDownload[i].reset();
+ monthUpload[i].reset();
+ monthDownload[i].reset();
}
for (int i = 0; i < USERDATA_NUM; i++)
}
for (int i = 0; i < USERDATA_NUM; i++)
- u
d
[i].reset();
+ u
serData
[i].reset();
}
RESETABLE<string> server;
}
RESETABLE<string> server;
@@
-88,10
+90,13
@@
RESETABLE<bool> disableDetailStat;
RESETABLE<bool> alwaysOnline;
RESETABLE<double> prepaidTraff;
RESETABLE<bool> alwaysOnline;
RESETABLE<double> prepaidTraff;
-RESETABLE<int64_t>
u
[DIR_NUM];
-RESETABLE<int64_t> d[DIR_NUM];
+RESETABLE<int64_t>
sessionUpload
[DIR_NUM];
+RESETABLE<int64_t>
sessionDownloa
d[DIR_NUM];
-RESETABLE<string> ud[USERDATA_NUM];
+RESETABLE<int64_t> monthUpload[DIR_NUM];
+RESETABLE<int64_t> monthDownload[DIR_NUM];
+
+RESETABLE<string> userData[USERDATA_NUM];
RESETABLE<string> note;
RESETABLE<string> name;
RESETABLE<string> note;
RESETABLE<string> name;