ws2_32: Add the inet_ntop() and inet_pton() prototypes and their relatives.

This commit is contained in:
Francois Gouget 2008-12-08 09:28:02 +01:00 committed by Alexandre Julliard
parent 23063501e5
commit b092b90309
1 changed files with 8 additions and 0 deletions

View File

@ -237,6 +237,14 @@ int WINAPI WS(getnameinfo)(const SOCKADDR*,WS(socklen_t),PCHAR,DWORD,PCHAR,DWOR
#define GetNameInfoA WS(getnameinfo) #define GetNameInfoA WS(getnameinfo)
INT WINAPI GetNameInfoW(const SOCKADDR*,WS(socklen_t),PWCHAR,DWORD,PWCHAR,DWORD,INT); INT WINAPI GetNameInfoW(const SOCKADDR*,WS(socklen_t),PWCHAR,DWORD,PWCHAR,DWORD,INT);
#define GetNameInfo WINELIB_NAME_AW(GetNameInfo) #define GetNameInfo WINELIB_NAME_AW(GetNameInfo)
PCSTR WINAPI WS(inet_ntop)(INT,PVOID,PSTR,size_t);
#define InetNtopA WS(inet_ntop)
PCWSTR WINAPI InetNtopW(INT,PVOID,PWSTR,size_t);
#define InetNtop WINELIB_NAME_AW(InetNtop)
int WINAPI WS(inet_pton)(INT,PCSTR,PVOID);
#define InetPtonA WS(inet_pton)
int WINAPI InetPtonW(INT,PCWSTR,PVOID);
#define InetPton WINELIB_NAME_AW(InetPton)
/* /*
* Ws2tcpip Function Typedefs * Ws2tcpip Function Typedefs