From d3cb19278d60ac6f7963379254546cdca36a90e2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 14 Jan 2017 01:22:55 +0300 Subject: separate handle types for HNETLIBCONN & HNETLIBBIND --- protocols/IRCG/src/irclib.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'protocols/IRCG/src/irclib.h') diff --git a/protocols/IRCG/src/irclib.h b/protocols/IRCG/src/irclib.h index 4c0395e3f6..e75d5205a9 100644 --- a/protocols/IRCG/src/irclib.h +++ b/protocols/IRCG/src/irclib.h @@ -24,8 +24,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #pragma warning (disable: 4786) -void DoIdent(HANDLE hConnection, DWORD dwRemoteIP, void* extra); -void DoIncomingDcc(HANDLE hConnection, DWORD dwRemoteIP, void* extra); +void DoIdent(HNETLIBCONN hConnection, DWORD dwRemoteIP, void* extra); +void DoIncomingDcc(HNETLIBCONN hConnection, DWORD dwRemoteIP, void* extra); unsigned long ConvertIPToInteger(char * IP); char* ConvertIntegerToIP(unsigned long int_ip_addr); @@ -123,8 +123,8 @@ class CDccSession { protected: CIrcProto* m_proto; - HANDLE con; // connection handle - HANDLE hBindPort; // handle for listening port + HNETLIBCONN con; // connection handle + HNETLIBBIND hBindPort; // handle for listening port static int nDcc; // number of dcc objects unsigned __int64 dwTotal; // total bytes sent/received @@ -164,7 +164,7 @@ public: int Connect(); void SetupPassive( DWORD adr, DWORD port ); int SendStuff(const wchar_t* fmt); - int IncomingConnection(HANDLE hConnection, DWORD dwIP); + int IncomingConnection(HNETLIBCONN hConnection, DWORD dwIP); int Disconnect(); }; -- cgit v1.2.3