]> git.stg.codes - stg.git/blobdiff - projects/sgconf/request.h
Add type REGISTRY in USER_PROPERTIES
[stg.git] / projects / sgconf / request.h
index 5ce4d093caa05c566d85d8f9819b4270dc44129a..bca3c148e1892f1e0306c2683a3aec8cbb6b81e7 100644 (file)
@@ -54,10 +54,10 @@ REQUEST()
 {
     for (int i = 0; i < DIR_NUM; i++)
         {
-        sessionUp[i].reset();
-        sessionDown[i].reset();
-        monthUp[i].reset();
-        monthDown[i].reset();
+        sessionUpload[i].reset();
+        sessionDownload[i].reset();
+        monthUpload[i].reset();
+        monthDownload[i].reset();
         }
 
     for (int i = 0; i < USERDATA_NUM; i++)
@@ -90,11 +90,11 @@ RESETABLE<bool>     disableDetailStat;
 RESETABLE<bool>     alwaysOnline;
 RESETABLE<double>   prepaidTraff;
 
-RESETABLE<int64_t>  sessionUp[DIR_NUM];
-RESETABLE<int64_t>  sessionDown[DIR_NUM];
+RESETABLE<int64_t>  sessionUpload[DIR_NUM];
+RESETABLE<int64_t>  sessionDownload[DIR_NUM];
 
-RESETABLE<int64_t>  monthUp[DIR_NUM];
-RESETABLE<int64_t>  monthDown[DIR_NUM];
+RESETABLE<int64_t>  monthUpload[DIR_NUM];
+RESETABLE<int64_t>  monthDownload[DIR_NUM];
 
 RESETABLE<string>   userData[USERDATA_NUM];