Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
8b913427
Commit
8b913427
authored
Nov 18, 2010
by
André Hentschel
Committed by
Alexandre Julliard
Nov 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Map AI_ADDRCONFIG.
parent
a147fd9c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
9 deletions
+15
-9
socket.c
dlls/ws2_32/socket.c
+1
-3
ws2tcpip.h
include/ws2tcpip.h
+14
-6
No files found.
dlls/ws2_32/socket.c
View file @
8b913427
...
...
@@ -430,9 +430,7 @@ static const int ws_aiflag_map[][2] =
MAP_OPTION
(
AI_PASSIVE
),
MAP_OPTION
(
AI_CANONNAME
),
MAP_OPTION
(
AI_NUMERICHOST
),
/* Linux/UNIX knows a lot more. But Windows only
* has 3 as far as I could see. -Marcus
*/
MAP_OPTION
(
AI_ADDRCONFIG
),
};
static
const
int
ws_niflag_map
[][
2
]
=
...
...
include/ws2tcpip.h
View file @
8b913427
...
...
@@ -60,9 +60,13 @@ typedef ADDRINFOA ADDRINFO, *LPADDRINFO;
/* Possible Windows flags for getaddrinfo() */
#ifndef USE_WS_PREFIX
# define AI_PASSIVE 0x0001
# define AI_CANONNAME 0x0002
# define AI_NUMERICHOST 0x0004
# define AI_PASSIVE 0x00000001
# define AI_CANONNAME 0x00000002
# define AI_NUMERICHOST 0x00000004
# define AI_ADDRCONFIG 0x00000400
# define AI_NON_AUTHORITATIVE 0x00004000
# define AI_SECURE 0x00008000
# define AI_RETURN_PREFERRED_NAMES 0x00010000
/* getaddrinfo error codes */
# define EAI_AGAIN WSATRY_AGAIN
# define EAI_BADFLAGS WSAEINVAL
...
...
@@ -74,9 +78,13 @@ typedef ADDRINFOA ADDRINFO, *LPADDRINFO;
# define EAI_SERVICE WSATYPE_NOT_FOUND
# define EAI_SOCKTYPE WSAESOCKTNOSUPPORT
#else
# define WS_AI_PASSIVE 0x0001
# define WS_AI_CANONNAME 0x0002
# define WS_AI_NUMERICHOST 0x0004
# define WS_AI_PASSIVE 0x00000001
# define WS_AI_CANONNAME 0x00000002
# define WS_AI_NUMERICHOST 0x00000004
# define WS_AI_ADDRCONFIG 0x00000400
# define WS_AI_NON_AUTHORITATIVE 0x00004000
# define WS_AI_SECURE 0x00008000
# define WS_AI_RETURN_PREFERRED_NAMES 0x00010000
/* getaddrinfo error codes */
# define WS_EAI_AGAIN WSATRY_AGAIN
# define WS_EAI_BADFLAGS WSAEINVAL
...
...
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