Commit 07b4422a authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Add stdcall->cdecl thunks for inet_network and getnetbyname.

parent 043f6402
...@@ -249,3 +249,19 @@ INT WINAPI EnumProtocolsW( LPINT lpiProtocols, LPVOID lpBuffer, ...@@ -249,3 +249,19 @@ INT WINAPI EnumProtocolsW( LPINT lpiProtocols, LPVOID lpBuffer,
return WSOCK32_EnumProtocol( lpiProtocols, (PROTOCOL_INFOA*) lpBuffer, return WSOCK32_EnumProtocol( lpiProtocols, (PROTOCOL_INFOA*) lpBuffer,
lpdwLength, TRUE); 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);
}
...@@ -60,8 +60,8 @@ debug_channels (winsock) ...@@ -60,8 +60,8 @@ debug_channels (winsock)
# ... as it is, they don't # ... as it is, they don't
#1000 stub WSApSetPostRoutine #1000 stub WSApSetPostRoutine
1001 stdcall WsControl(long long ptr ptr ptr ptr) WsControl 1001 stdcall WsControl(long long ptr ptr ptr ptr) WsControl
1100 stdcall inet_network(str) inet_network 1100 stdcall inet_network(str) WSOCK32_inet_network
1101 stdcall getnetbyname(str) getnetbyname 1101 stdcall getnetbyname(str) WSOCK32_getnetbyname
#1102 stub rcmd #1102 stub rcmd
#1103 stub rexec #1103 stub rexec
#1104 stub rresvport #1104 stub rresvport
......
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