]> 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 84ceae89ac81a5efa057788b7626dbff9459db7a..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
@@ -158,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);