summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-14 01:22:55 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-14 01:22:55 +0300
commitd3cb19278d60ac6f7963379254546cdca36a90e2 (patch)
treef2fa018b343d5460419c1b323f5f3ce04a393d00 /protocols/JabberG/src/jabber_proto.h
parentd5a6c0666a8d8d2055a3f4402f67f91e8548ec3a (diff)
separate handle types for HNETLIBCONN & HNETLIBBIND
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.h')
-rw-r--r--protocols/JabberG/src/jabber_proto.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/protocols/JabberG/src/jabber_proto.h b/protocols/JabberG/src/jabber_proto.h
index 9eb9640ea6..f62d73c528 100644
--- a/protocols/JabberG/src/jabber_proto.h
+++ b/protocols/JabberG/src/jabber_proto.h
@@ -303,10 +303,10 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface
void IqResultProxyDiscovery(HXML iqNode, CJabberIqInfo *pInfo);
void ByteInitiateResult(HXML iqNode, CJabberIqInfo *pInfo);
void ByteSendViaProxy(JABBER_BYTE_TRANSFER *jbt);
- int ByteSendParse(HANDLE hConn, JABBER_BYTE_TRANSFER *jbt, char* buffer, int datalen);
+ int ByteSendParse(HNETLIBCONN hConn, JABBER_BYTE_TRANSFER *jbt, char* buffer, int datalen);
void IqResultStreamActivate(HXML iqNode, CJabberIqInfo *pInfo);
- int ByteReceiveParse(HANDLE hConn, JABBER_BYTE_TRANSFER *jbt, char* buffer, int datalen);
- int ByteSendProxyParse(HANDLE hConn, JABBER_BYTE_TRANSFER *jbt, char* buffer, int datalen);
+ int ByteReceiveParse(HNETLIBCONN hConn, JABBER_BYTE_TRANSFER *jbt, char* buffer, int datalen);
+ int ByteSendProxyParse(HNETLIBCONN hConn, JABBER_BYTE_TRANSFER *jbt, char* buffer, int datalen);
//---- jabber_caps.cpp ---------------------------------------------------------------
@@ -378,7 +378,7 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface
//---- jabber_file.cpp ---------------------------------------------------------------
int FileReceiveParse(filetransfer *ft, char* buffer, int datalen);
- int FileSendParse(JABBER_SOCKET s, filetransfer *ft, char* buffer, int datalen);
+ int FileSendParse(HNETLIBCONN s, filetransfer *ft, char* buffer, int datalen);
void UpdateChatUserStatus(wchar_t* chat_jid, wchar_t* jid, wchar_t* nick, int role, int affil, int status, BOOL update_nick);
@@ -498,9 +498,9 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface
void OnFtSiResult(HXML iqNode, CJabberIqInfo *pInfo);
BOOL FtIbbSend(int blocksize, filetransfer *ft);
- BOOL FtSend(HANDLE hConn, filetransfer *ft);
+ BOOL FtSend(HNETLIBCONN hConn, filetransfer *ft);
void FtSendFinal(BOOL success, filetransfer *ft);
- int FtReceive(HANDLE hConn, filetransfer *ft, char* buffer, int datalen);
+ int FtReceive(HNETLIBCONN hConn, filetransfer *ft, char* buffer, int datalen);
void FtReceiveFinal(BOOL success, filetransfer *ft);
//---- jabber_iqid.cpp ---------------------------------------------------------------
@@ -765,12 +765,12 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface
//---- jabber_ws.c -------------------------------------------------
- JABBER_SOCKET WsConnect(char* host, WORD port);
+ HNETLIBCONN WsConnect(char* host, WORD port);
BOOL WsInit(void);
void WsUninit(void);
- int WsSend(JABBER_SOCKET s, char* data, int datalen, int flags);
- int WsRecv(JABBER_SOCKET s, char* data, long datalen, int flags);
+ int WsSend(HNETLIBCONN s, char* data, int datalen, int flags);
+ int WsRecv(HNETLIBCONN s, char* data, long datalen, int flags);
//---- jabber_xml.c ------------------------------------------------------------------