]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/include/stg/servconf_types.h
Fixed ServerInfo parser.
[stg.git] / stglibs / srvconf.lib / include / stg / servconf_types.h
index 2217250666ad07cbb109e47610110ff4f5a8112e..998e3b4747d08e2c02fd1548d743759b2bf74842 100644 (file)
@@ -130,7 +130,6 @@ struct STAT
     ARRAY<long long, DIR_NUM> sd;
     ARRAY<long long, DIR_NUM> mu;
     ARRAY<long long, DIR_NUM> md;
-    double freeMb;
 };
 
 struct INFO
@@ -140,7 +139,8 @@ struct INFO
     double      cash;
     double      credit;
     time_t      creditExpire;
-    double      lastCash;
+    double      lastCashAdd;
+    double      lastCashAddTime;
     time_t      lastTimeCash;
     double      prepaidTraff;
     int         disabled;
@@ -157,10 +157,13 @@ struct INFO
     std::string name;
     std::string address;
     std::string phone;
+    std::string corp;
     STAT        stat;
     time_t      pingTime;
     time_t      lastActivityTime;
     ARRAY<std::string, USERDATA_NUM> userData;
+    std::vector<std::string> services;
+    std::vector<std::string> authBy;
 };
 
 typedef void (* CALLBACK)(bool result, const std::string & reason, const INFO & info, void * data);