X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..04c52c861598a001bfe217ef6ebe5c4c0d4c6354:/stglibs/ia_auth_c.lib/ia_auth_c.h?ds=sidebyside diff --git a/stglibs/ia_auth_c.lib/ia_auth_c.h b/stglibs/ia_auth_c.lib/ia_auth_c.h index 2e88cf76..1a1ea039 100644 --- a/stglibs/ia_auth_c.lib/ia_auth_c.h +++ b/stglibs/ia_auth_c.lib/ia_auth_c.h @@ -87,7 +87,7 @@ public: int Connect(); int Disconnect(); - int GetAuthorized() const { return phase == 3 || phase == 4; }; // Ìû ïîäêëþ÷åíû èëè íåò? + int GetAuthorized() const { return phase == 3 || phase == 4; }; int GetPhase() const { return phase; }; int GetStatus() const; int GetReconnect() const { return reconnect; }; @@ -131,8 +131,8 @@ private: LOADSTAT stat; int action; int phase; - int phaseTime; // Âðåìÿ âõîäà â ôàçó - string messageText; // Ñîîáùåíèå îá îøèáêå + int phaseTime; + string messageText; string infoText; mutable string strError; mutable int codeError; @@ -154,19 +154,17 @@ private: pthread_t thread; #endif - string serverName; // Èìÿ ñåðâåðà - uint16_t port; // Ïîðò ñåðâåðà - uint32_t ip; // Proxy IP + string serverName; + uint16_t port; + uint32_t ip; uint32_t localPort; - struct sockaddr_in localAddrS; // Íàø àäðåñ - struct sockaddr_in localAddrR; // Íàø àäðåñ - struct sockaddr_in servAddr; // àäðåñ ñåðâåðà + struct sockaddr_in servAddr; bool firstConnect; int reconnect; int sockr; - int protNum; // ×èñëî, êîòîðîå ó÷àñòâóåò â îáìåíå ñîîáùåíèÿìèa + int protNum; int userTimeout; int aliveTimeout; unsigned int rnd; @@ -193,7 +191,6 @@ private: DISCONN_SYN_8 * disconnSyn8; DISCONN_SYN_ACK_8 * disconnSynAck8; DISCONN_ACK_8 * disconnAck8; - ERR_8 err; INFO_8 * info; }; //--------------------------------------------------------------------------- @@ -205,5 +202,3 @@ void * RunW(void *); //--------------------------------------------------------------------------- #endif //IA_AUTH_C_H - -