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
dcb90635
Commit
dcb90635
authored
Feb 24, 2006
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winsock: Tweak getnameinfo() prototype.
Tweak the getnameinfo() prototype to better match the Windows PSDK and the GetNameInfoW() prototype. Update win32.api.
parent
4c2f22f7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
socket.c
dlls/winsock/socket.c
+2
-2
ws2tcpip.h
include/ws2tcpip.h
+1
-1
win32.api
tools/winapi/win32.api
+3
-0
No files found.
dlls/winsock/socket.c
View file @
dcb90635
...
...
@@ -3235,8 +3235,8 @@ int WINAPI GetAddrInfoW(LPCWSTR nodename, LPCWSTR servname, const ADDRINFOW *hin
return
EAI_FAIL
;
}
int
WINAPI
WS_getnameinfo
(
const
struct
WS_sockaddr
*
sa
,
socklen_t
salen
,
char
*
host
,
DWORD
hostlen
,
char
*
serv
,
DWORD
servlen
,
int
flags
)
int
WINAPI
WS_getnameinfo
(
const
SOCKADDR
*
sa
,
socklen_t
salen
,
PCHAR
host
,
DWORD
hostlen
,
PCHAR
serv
,
DWORD
servlen
,
INT
flags
)
{
#if HAVE_GETNAMEINFO
int
ret
;
...
...
include/ws2tcpip.h
View file @
dcb90635
...
...
@@ -215,7 +215,7 @@ int WINAPI WS(getaddrinfo)(const char*,const char*,const struct WS(addrinfo)*,s
#define GetAddrInfoA WS(getaddrinfo)
int
WINAPI
GetAddrInfoW
(
PCWSTR
,
PCWSTR
,
const
ADDRINFOW
*
,
PADDRINFOW
*
);
#define GetAddrInfo WINELIB_NAME_AW(GetAddrInfo)
int
WINAPI
WS
(
getnameinfo
)(
const
struct
WS
(
sockaddr
)
*
,
socklen_t
,
char
*
,
DWORD
,
char
*
,
DWORD
,
int
);
int
WINAPI
WS
(
getnameinfo
)(
const
SOCKADDR
*
,
socklen_t
,
PCHAR
,
DWORD
,
PCHAR
,
DWORD
,
INT
);
#define GetNameInfoA WS(getnameinfo)
INT
WINAPI
GetNameInfoW
(
const
SOCKADDR
*
,
socklen_t
,
PWCHAR
,
DWORD
,
PWCHAR
,
DWORD
,
INT
);
#define GetNameInfo WINELIB_NAME_AW(GetNameInfo)
...
...
tools/winapi/win32.api
View file @
dcb90635
...
...
@@ -5347,6 +5347,7 @@ WSAESETSERVICEOP
WSAEVENT
int
long
socklen_t
u_long
u_short
...
...
@@ -5378,6 +5379,7 @@ LPWSAQUERYSETW
LPWSASERVICECLASSINFOA
LPWSASERVICECLASSINFOW
PADDRINFOW *
SOCKADDR *
WS_fd_set *
int *
struct WS_addrinfo *
...
...
@@ -5394,6 +5396,7 @@ u_short *
LPCSTR
LPSTR
PCHAR
char *
%unknown
...
...
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