Add getnameinfoA/W

svn path=/trunk/; revision=15838
This commit is contained in:
Gé van Geldorp 2005-06-07 22:04:54 +00:00
parent e5541e23e6
commit 5fb6c9fc9c

View file

@ -306,8 +306,15 @@ WCHAR* WSAAPI gai_strerrorW(int);
#define gai_strerror gai_strerrorA
#endif /* UNICODE */
int WSAAPI getnameinfo(const struct sockaddr*,socklen_t,char*,DWORD,
char*,DWORD,int);
int WSAAPI getnameinfoA(const struct sockaddr*,socklen_t,char*,DWORD,
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 */