Commit 6d1fea97 authored by Louis Lenders's avatar Louis Lenders Committed by Alexandre Julliard
parent 7f34362d
......@@ -7269,6 +7269,24 @@ void WINAPI FreeAddrInfoW(PADDRINFOW ai)
}
/***********************************************************************
* FreeAddrInfoEx (WS2_32.@)
*/
void WINAPI FreeAddrInfoEx(ADDRINFOEXA *ai)
{
TRACE("(%p)\n", ai);
while (ai)
{
ADDRINFOEXA *next;
HeapFree(GetProcessHeap(), 0, ai->ai_canonname);
HeapFree(GetProcessHeap(), 0, ai->ai_addr);
next = ai->ai_next;
HeapFree(GetProcessHeap(), 0, ai);
ai = next;
}
}
/***********************************************************************
* FreeAddrInfoExW (WS2_32.@)
*/
void WINAPI FreeAddrInfoExW(ADDRINFOEXW *ai)
......
......@@ -50,6 +50,7 @@
500 stub WEP
@ stdcall FreeAddrInfoEx(ptr)
@ stdcall FreeAddrInfoExW(ptr)
@ stdcall FreeAddrInfoW(ptr)
@ stdcall GetAddrInfoExCancel(ptr)
......
......@@ -177,7 +177,11 @@ void WINAPI WS(freeaddrinfo)(LPADDRINFO);
#define FreeAddrInfoA WS(freeaddrinfo)
void WINAPI FreeAddrInfoW(PADDRINFOW);
#define FreeAddrInfo WINELIB_NAME_AW(FreeAddrInfo)
void WINAPI FreeAddrInfoEx(ADDRINFOEXA*);
void WINAPI FreeAddrInfoExW(ADDRINFOEXW*);
#ifdef UNICODE
#define FreeAddrInfoEx FreeAddrInfoExW
#endif
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*);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment