]> 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 2217250666ad07cbb109e47610110ff4f5a8112e..7cdf2475a4e527b1de1080f226841b43904c1b3f 100644 (file)
@@ -140,7 +140,8 @@ struct INFO
     double      cash;
     double      credit;
     time_t      creditExpire;
-    double      lastCash;
+    double      lastCashAdd;
+    double      lastCashAddTime;
     time_t      lastTimeCash;
     double      prepaidTraff;
     int         disabled;
@@ -161,6 +162,7 @@ struct INFO
     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);