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

Alexandre Julliard julliard at winehq.org
Mon Dec 8 09:46:04 CST 2008


Module: wine
Branch: master
Commit: b092b90309e936474a19bfea70161bc16c583d3a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b092b90309e936474a19bfea70161bc16c583d3a

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Dec  8 09:28:02 2008 +0100

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

---

 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




More information about the wine-cvs mailing list