diff options
author | George Hazan <ghazan@miranda.im> | 2017-01-14 01:22:55 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-01-14 01:22:55 +0300 |
commit | d3cb19278d60ac6f7963379254546cdca36a90e2 (patch) | |
tree | f2fa018b343d5460419c1b323f5f3ce04a393d00 /protocols/IRCG/src/irclib.h | |
parent | d5a6c0666a8d8d2055a3f4402f67f91e8548ec3a (diff) |
separate handle types for HNETLIBCONN & HNETLIBBIND
Diffstat (limited to 'protocols/IRCG/src/irclib.h')
-rw-r--r-- | protocols/IRCG/src/irclib.h | 10 |
1 files changed, 5 insertions, 5 deletions
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();
};
|