diff --git a/dlls/wsock32/protocol.c b/dlls/wsock32/protocol.c index 8432bffa87f..7c383198ef2 100644 --- a/dlls/wsock32/protocol.c +++ b/dlls/wsock32/protocol.c @@ -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); +} diff --git a/dlls/wsock32/wsock32.spec b/dlls/wsock32/wsock32.spec index d5182b093b3..5ddd20b05e7 100644 --- a/dlls/wsock32/wsock32.spec +++ b/dlls/wsock32/wsock32.spec @@ -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