X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e483fbc3e51aca90ff4abc5347862173366c40ef..8337f36907f14b1e9979108800e82b8e0ca47a59:/libs/srvconf/include/stg/servconf_types.h diff --git a/libs/srvconf/include/stg/servconf_types.h b/libs/srvconf/include/stg/servconf_types.h index 6c01d341..07f28fc5 100644 --- a/libs/srvconf/include/stg/servconf_types.h +++ b/libs/srvconf/include/stg/servconf_types.h @@ -21,11 +21,11 @@ #ifndef __STG_STGLIBS_SRVCONF_TYPES_H__ #define __STG_STGLIBS_SRVCONF_TYPES_H__ -#include "stg/array.h" #include "stg/const.h" // DIR_NUM #include #include +#include #include #include @@ -90,7 +90,7 @@ struct INFO int usersNum; std::string uname; int dirNum; - ARRAY dirName; + std::array dirName; }; typedef void (* CALLBACK)(bool result, const std::string & reason, const INFO & info, void * data); @@ -108,10 +108,10 @@ namespace GET_USER struct STAT { - ARRAY su; - ARRAY sd; - ARRAY mu; - ARRAY md; + std::array su; + std::array sd; + std::array mu; + std::array md; }; struct INFO @@ -143,7 +143,7 @@ struct INFO STAT stat; time_t pingTime; time_t lastActivityTime; - ARRAY userData; + std::array userData; std::vector services; std::vector authBy; };