* net.cc (cygwin_inet_network): new function.
* cygwin.din (inet_network): new export
This commit is contained in:
parent
86f6bd9104
commit
046069e449
|
@ -1,3 +1,8 @@
|
||||||
|
2000-04-24 Vadim Egorov <egorovv@mailandnews.com>
|
||||||
|
|
||||||
|
* net.cc (cygwin_inet_network): new function.
|
||||||
|
* cygwin.din (inet_network): new export
|
||||||
|
|
||||||
Fri Apr 21 10:37:08 2000 Christopher Faylor <cgf@cygnus.com>
|
Fri Apr 21 10:37:08 2000 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
* path.cc (normalize_posix_path): Previous two patches were still
|
* path.cc (normalize_posix_path): Previous two patches were still
|
||||||
|
|
|
@ -919,6 +919,7 @@ bind = cygwin_bind
|
||||||
connect = cygwin_connect
|
connect = cygwin_connect
|
||||||
herror = cygwin_herror
|
herror = cygwin_herror
|
||||||
inet_addr = cygwin_inet_addr
|
inet_addr = cygwin_inet_addr
|
||||||
|
inet_network = cygwin_inet_network
|
||||||
inet_netof
|
inet_netof
|
||||||
inet_makeaddr
|
inet_makeaddr
|
||||||
listen = cygwin_listen
|
listen = cygwin_listen
|
||||||
|
|
|
@ -127,6 +127,17 @@ cygwin_inet_addr (const char *cp)
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* undocumented in wsock32.dll */
|
||||||
|
extern "C" unsigned int inet_network (const char *);
|
||||||
|
|
||||||
|
extern "C"
|
||||||
|
unsigned int
|
||||||
|
cygwin_inet_network (const char *cp)
|
||||||
|
{
|
||||||
|
unsigned int res = inet_network (cp);
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
/* inet_netof is in the standard BSD sockets library. It is useless
|
/* inet_netof is in the standard BSD sockets library. It is useless
|
||||||
for modern networks, since it assumes network values which are no
|
for modern networks, since it assumes network values which are no
|
||||||
longer meaningful, but some existing code calls it. */
|
longer meaningful, but some existing code calls it. */
|
||||||
|
@ -1811,6 +1822,7 @@ LoadDLLfunc (getservbyport, getservbyport@8, wsock32)
|
||||||
LoadDLLfunc (getsockname, getsockname@12, wsock32)
|
LoadDLLfunc (getsockname, getsockname@12, wsock32)
|
||||||
LoadDLLfunc (getsockopt, getsockopt@20, wsock32)
|
LoadDLLfunc (getsockopt, getsockopt@20, wsock32)
|
||||||
LoadDLLfunc (inet_addr, inet_addr@4, wsock32)
|
LoadDLLfunc (inet_addr, inet_addr@4, wsock32)
|
||||||
|
LoadDLLfunc (inet_network, inet_network@4, wsock32)
|
||||||
LoadDLLfunc (inet_ntoa, inet_ntoa@4, wsock32)
|
LoadDLLfunc (inet_ntoa, inet_ntoa@4, wsock32)
|
||||||
LoadDLLfunc (ioctlsocket, ioctlsocket@12, wsock32)
|
LoadDLLfunc (ioctlsocket, ioctlsocket@12, wsock32)
|
||||||
LoadDLLfunc (listen, listen@8, wsock32)
|
LoadDLLfunc (listen, listen@8, wsock32)
|
||||||
|
|
Loading…
Reference in New Issue