mirror of
https://github.com/reactos/wine.git
synced 2024-11-27 13:40:50 +00:00
ws2_32: Added FreeAddrInfoEx implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
39fe376e92
commit
001a8a4f27
@ -6959,7 +6959,17 @@ void WINAPI FreeAddrInfoW(PADDRINFOW ai)
|
||||
*/
|
||||
void WINAPI FreeAddrInfoExW(ADDRINFOEXW *ai)
|
||||
{
|
||||
FIXME("%p\n", ai);
|
||||
TRACE("(%p)\n", ai);
|
||||
|
||||
while (ai)
|
||||
{
|
||||
ADDRINFOEXW *next;
|
||||
HeapFree(GetProcessHeap(), 0, ai->ai_canonname);
|
||||
HeapFree(GetProcessHeap(), 0, ai->ai_addr);
|
||||
next = ai->ai_next;
|
||||
HeapFree(GetProcessHeap(), 0, ai);
|
||||
ai = next;
|
||||
}
|
||||
}
|
||||
|
||||
int WINAPI WS_getnameinfo(const SOCKADDR *sa, WS_socklen_t salen, PCHAR host,
|
||||
|
@ -173,6 +173,7 @@ void WINAPI WS(freeaddrinfo)(LPADDRINFO);
|
||||
#define FreeAddrInfoA WS(freeaddrinfo)
|
||||
void WINAPI FreeAddrInfoW(PADDRINFOW);
|
||||
#define FreeAddrInfo WINELIB_NAME_AW(FreeAddrInfo)
|
||||
void WINAPI FreeAddrInfoExW(ADDRINFOEXW*);
|
||||
int WINAPI WS(getaddrinfo)(const char*,const char*,const struct WS(addrinfo)*,struct WS(addrinfo)**);
|
||||
#define GetAddrInfoA WS(getaddrinfo)
|
||||
int WINAPI GetAddrInfoW(PCWSTR,PCWSTR,const ADDRINFOW*,PADDRINFOW*);
|
||||
|
Loading…
Reference in New Issue
Block a user