mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Add getnameinfoA/W
svn path=/trunk/; revision=15838
This commit is contained in:
parent
e5541e23e6
commit
5fb6c9fc9c
1 changed files with 9 additions and 2 deletions
|
@ -306,8 +306,15 @@ WCHAR* WSAAPI gai_strerrorW(int);
|
||||||
#define gai_strerror gai_strerrorA
|
#define gai_strerror gai_strerrorA
|
||||||
#endif /* UNICODE */
|
#endif /* UNICODE */
|
||||||
|
|
||||||
int WSAAPI getnameinfo(const struct sockaddr*,socklen_t,char*,DWORD,
|
int WSAAPI getnameinfoA(const struct sockaddr*,socklen_t,char*,DWORD,
|
||||||
char*,DWORD,int);
|
char*,DWORD,int);
|
||||||
|
int WSAAPI getnameinfoW(const struct sockaddr*,socklen_t,WCHAR*,DWORD,
|
||||||
|
WCHAR*,DWORD,int);
|
||||||
|
#ifdef UNICODE
|
||||||
|
#define getnameinfo getnameinfoW
|
||||||
|
#else
|
||||||
|
#define getnameinfo getnameinfoA
|
||||||
|
#endif /* UNICODE */
|
||||||
|
|
||||||
|
|
||||||
/* Some older IPv4/IPv6 compatability stuff */
|
/* Some older IPv4/IPv6 compatability stuff */
|
||||||
|
|
Loading…
Reference in a new issue