summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/icq_server.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-12 16:22:27 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-12 16:22:27 +0000
commit8f57f4e8597c8eae88c1e869aa51188e67788142 (patch)
tree84b2bc0b9276b247f5d234c6b1a1c56279830629 /protocols/IcqOscarJ/src/icq_server.h
parentc1d0bec52e19d51117b05d3f7d80a366df657817 (diff)
- keep-alive thread removed;
- boolean variables obtained type bool git-svn-id: http://svn.miranda-ng.org/main/trunk@9775 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_server.h')
-rw-r--r--protocols/IcqOscarJ/src/icq_server.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/protocols/IcqOscarJ/src/icq_server.h b/protocols/IcqOscarJ/src/icq_server.h
index 2559ced355..9d04b0d805 100644
--- a/protocols/IcqOscarJ/src/icq_server.h
+++ b/protocols/IcqOscarJ/src/icq_server.h
@@ -20,13 +20,12 @@
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-//
// -----------------------------------------------------------------------------
// DESCRIPTION:
//
// Declarations for server thread
-//
// -----------------------------------------------------------------------------
+
#ifndef __ICQ_SERVER_H
#define __ICQ_SERVER_H
@@ -39,9 +38,6 @@ struct serverthread_start_info
struct serverthread_info
{
- struct CIcqProto *ppro;
- int bLoggedIn;
- int isLoginServer;
BYTE szAuthKey[20];
WORD wAuthKeyLen;
WORD wServerPort;
@@ -49,14 +45,17 @@ struct serverthread_info
BYTE *cookieData;
int cookieDataLen;
int newServerSSL;
- int newServerReady;
- int isMigrating;
- int bReinitRecver;
- int bMyAvatarInited;
+ int iKeepalive;
+
+ bool isLoginServer;
+ bool isMigrating;
+ bool isNewServerReady;
+ bool bLoggedIn;
+ bool bReinitRecver;
+ bool bMyAvatarInited;
HANDLE hPacketRecver;
HANDLE hDirectBoundPort;
- HANDLE hKeepAliveEvent;
};
#endif /* __ICQ_SERVER_H */