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

Francois Gouget fgouget at free.fr
Mon Dec 8 02:28:02 CST 2008


---
 include/ws2tcpip.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/include/ws2tcpip.h b/include/ws2tcpip.h
index 885b60e..a38ccda 100644
--- a/include/ws2tcpip.h
+++ b/include/ws2tcpip.h
@@ -237,6 +237,14 @@ int WINAPI  WS(getnameinfo)(const SOCKADDR*,WS(socklen_t),PCHAR,DWORD,PCHAR,DWOR
 #define     GetNameInfoA WS(getnameinfo)
 INT WINAPI  GetNameInfoW(const SOCKADDR*,WS(socklen_t),PWCHAR,DWORD,PWCHAR,DWORD,INT);
 #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
-- 
1.5.6.5




More information about the wine-patches mailing list