diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-11 16:03:05 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-11 16:03:05 +0000 |
commit | 02bac39966af06c5ca6abe3ae9692e2a50a17f66 (patch) | |
tree | 98ff02831cd5de819914ef8df2647809815cc83b /protocols/EmLanProto/src/lan.h | |
parent | cc9fc711fee11a1be132ca9fb9c3f34880ed44a9 (diff) |
minus CreateThread
git-svn-id: http://svn.miranda-ng.org/main/trunk@13546 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/EmLanProto/src/lan.h')
-rw-r--r-- | protocols/EmLanProto/src/lan.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/EmLanProto/src/lan.h b/protocols/EmLanProto/src/lan.h index 6df1a07156..1fd2bbe80a 100644 --- a/protocols/EmLanProto/src/lan.h +++ b/protocols/EmLanProto/src/lan.h @@ -13,7 +13,7 @@ class CLan
{
public:
- //! constructor
+ //! constructor
CLan();
//! destructor
~CLan();
@@ -79,7 +79,7 @@ protected: private:
//! Launches Listen procedure when in new thread
- static DWORD WINAPI ListenProc(LPVOID lpParameter);
+ static void __cdecl ListenProc(void *lpParameter);
//! Listnes for incoming messages
void Listen();
//! Listen thread handle
@@ -93,7 +93,7 @@ private: LPVOID m_lpParameter;
};
//! Launches accept procedure for TCP connections in new thread
- static DWORD WINAPI AcceptTCPProc(LPVOID lpParameter);
+ static void __cdecl AcceptTCPProc(void *lpParameter);
//! Accepts TCP connections
void AcceptTCP();
//! Accept TCP thread handle
@@ -102,7 +102,7 @@ private: //! Called when new income TCP connection is created
static void __cdecl OnInTCPConnectionProc(void *lpParameter);
//! Called when new ougoing TCP connectio is created
- static DWORD WINAPI OnOutTCPConnectionProc(LPVOID lpParameter);
+ static void __cdecl OnOutTCPConnectionProc(void *lpParameter);
//! Stores retrieved host addresses
in_addr m_hostAddr[MAX_INTERNAL_IP];
|