]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/include/stg/servconf_types.h
Added handling of "AuthBy" info.
[stg.git] / stglibs / srvconf.lib / include / stg / servconf_types.h
index 3fd1c7c57a26d771ae8ab1c47560db83f16982a5..7cdf2475a4e527b1de1080f226841b43904c1b3f 100644 (file)
@@ -140,9 +140,11 @@ struct INFO
     double      cash;
     double      credit;
     time_t      creditExpire;
-    double      lastCash;
+    double      lastCashAdd;
+    double      lastCashAddTime;
+    time_t      lastTimeCash;
     double      prepaidTraff;
-    int         down;
+    int         disabled;
     int         passive;
     int         disableDetailStat;
     int         connected;
@@ -157,7 +159,10 @@ struct INFO
     std::string address;
     std::string phone;
     STAT        stat;
+    time_t      pingTime;
+    time_t      lastActivityTime;
     ARRAY<std::string, USERDATA_NUM> userData;
+    std::vector<std::string> authBy;
 };
 
 typedef void (* CALLBACK)(bool result, const std::string & reason, const INFO & info, void * data);