Add stdcall->cdecl thunks for inet_network and getnetbyname.

This commit is contained in:
Dmitry Timoshkov 2001-07-02 18:01:41 +00:00 committed by Alexandre Julliard
parent 043f64021d
commit 07b4422a01
2 changed files with 18 additions and 2 deletions

View File

@ -249,3 +249,19 @@ INT WINAPI EnumProtocolsW( LPINT lpiProtocols, LPVOID lpBuffer,
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);
}

View File

@ -60,8 +60,8 @@ debug_channels (winsock)
# ... 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