Commit b092b903 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent 23063501
...@@ -237,6 +237,14 @@ int WINAPI WS(getnameinfo)(const SOCKADDR*,WS(socklen_t),PCHAR,DWORD,PCHAR,DWOR ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment