diff options
author | George Hazan <ghazan@miranda.im> | 2017-01-12 13:57:38 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-01-12 13:57:38 +0300 |
commit | ffbdd25f9aec76d7da5507810cd793193725ecfa (patch) | |
tree | 2b2da6ee7838a6ecf05074a62f8e5a4a40e5db9d /include/m_netlib.h | |
parent | d958e3fb847813075cc059bd5a7aa28252982268 (diff) |
- Netlib_GetConnNlu - returns a pointer to NetlibUser associated with a connection
- NetlibDoClose renamed to NetlibDoCloseSocket
Diffstat (limited to 'include/m_netlib.h')
-rw-r--r-- | include/m_netlib.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/m_netlib.h b/include/m_netlib.h index 99a728ec0a..a5df2a3f91 100644 --- a/include/m_netlib.h +++ b/include/m_netlib.h @@ -382,6 +382,11 @@ struct NETLIBHTTPPROXYINFO #define Netlib_GetBase64EncodedBufferSize(cbDecoded) (((cbDecoded)*4+11)/12*4+1)
/////////////////////////////////////////////////////////////////////////////////////////
+// Gets HNETLIBUSER owner of a connection
+
+EXTERN_C MIR_APP_DLL(HNETLIBUSER) Netlib_GetConnNlu(HANDLE hConn);
+
+/////////////////////////////////////////////////////////////////////////////////////////
// Converts string representation of IP and port into numerical SOCKADDR_INET
// IPv4 could supplied in formats address:port or address
// IPv6 could supplied in formats [address]:port or [address]
|