X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..78e14695fc1b743f225a5aa30ca98784bce576c1:/projects/stargazer/plugins/configuration/sgconfig/configproto.h?ds=inline diff --git a/projects/stargazer/plugins/configuration/sgconfig/configproto.h b/projects/stargazer/plugins/configuration/sgconfig/configproto.h index 29369867..96e976c8 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/configproto.h +++ b/projects/stargazer/plugins/configuration/sgconfig/configproto.h @@ -58,17 +58,15 @@ public: ~CONFIGPROTO(); void SetPort(uint16_t port); - //void SetHostAllow(HOSTALLOW * ha); void SetAdmins(ADMINS * a); void SetUsers(USERS * u); void SetTariffs(TARIFFS * t); void SetStore(BASE_STORE * s); void SetStgSettings(const SETTINGS * s); - const string & GetAdminLogin(); - uint32_t GetAdminIP(); + uint32_t GetAdminIP() const; int Prepare(); int Stop(); - const string & GetStrError(); + const string & GetStrError() const; static void * Run(void * a); private: @@ -93,14 +91,10 @@ private: pthread_t thrReciveSendConf; bool nonstop; int state; - //HOSTALLOW * hostAllow; ADMIN currAdmin; STG_LOGGER & WriteServLog; - int outerSocket; int listenSocket; - struct sockaddr_in outerAddr; - socklen_t outerAddrLen; PARSER_GET_SERVER_INFO parserGetServInfo; @@ -123,10 +117,6 @@ private: PARSER_CHG_TARIFF parserChgTariff; ADMINS * admins; - //USERS * users; - //TARIFFS * tariffs; - //BASE_STORE * store; - //const SETTINGS * settings; BASE_PARSER * currParser; vector dataParser;