Add stdcall->cdecl thunks for inet_network and getnetbyname
Dmitry Timoshkov
dmitry at baikal.ru
Mon Jul 2 04:57:26 CDT 2001
Hello.
Changelog:
Dmitry Timoshkov <dmitry at codeweavers.com>
Add stdcall->cdecl thunks for inet_network and getnetbyname.
diff -u cvs/hq/wine/dlls/wsock32/protocol.c wine/dlls/wsock32/protocol.c
--- cvs/hq/wine/dlls/wsock32/protocol.c Sun Jan 28 03:59:22 2001
+++ wine/dlls/wsock32/protocol.c Mon Jul 02 06:33:08 2001
@@ -249,3 +249,19 @@
return WSOCK32_EnumProtocol( lpiProtocols, (PROTOCOL_INFOA*) lpBuffer,
lpdwLength, TRUE);
}
+
+/*****************************************************************************
+ * inet_network [WSOCK32.1100]
+ */
+unsigned int WINAPI WSOCK32_inet_network(const char *cp)
+{
+ return inet_network(cp);
+}
+
+/*****************************************************************************
+ * getnetbyname [WSOCK32.1101]
+ */
+struct netent WINAPI *WSOCK32_getnetbyname(const char *name)
+{
+ return getnetbyname(name);
+}
diff -u cvs/hq/wine/dlls/wsock32/wsock32.spec wine/dlls/wsock32/wsock32.spec
--- cvs/hq/wine/dlls/wsock32/wsock32.spec Sat Jan 13 03:29:58 2001
+++ wine/dlls/wsock32/wsock32.spec Mon Jul 02 05:30:14 2001
@@ -60,8 +60,8 @@
# ... as it is, they don't
#1000 stub WSApSetPostRoutine
1001 stdcall WsControl(long long ptr ptr ptr ptr) WsControl
-1100 stdcall inet_network(str) inet_network
-1101 stdcall getnetbyname(str) getnetbyname
+1100 stdcall inet_network(str) WSOCK32_inet_network
+1101 stdcall getnetbyname(str) WSOCK32_getnetbyname
#1102 stub rcmd
#1103 stub rexec
#1104 stub rresvport
More information about the wine-patches
mailing list