Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
001a8a4f
Commit
001a8a4f
authored
Aug 01, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 02, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Added FreeAddrInfoEx implementation.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
39fe376e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
socket.c
dlls/ws2_32/socket.c
+11
-1
ws2tcpip.h
include/ws2tcpip.h
+1
-0
No files found.
dlls/ws2_32/socket.c
View file @
001a8a4f
...
...
@@ -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
,
...
...
include/ws2tcpip.h
View file @
001a8a4f
...
...
@@ -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
*
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment