]> sourceware.org Git - newlib-cygwin.git/commit
* include/mswsock.h: New file.
authorEarnie Boyd <earnie@users.sf.net>
Wed, 21 Feb 2001 20:40:47 +0000 (20:40 +0000)
committerEarnie Boyd <earnie@users.sf.net>
Wed, 21 Feb 2001 20:40:47 +0000 (20:40 +0000)
commitb701af168c787548e57b55678928830da76c7935
treeea496df12098aea758ce6e59dde80cbd6b903a8a
parentd53c723240149c5b847addbf279aafc0f1af6c16
* include/mswsock.h: New file.
* include/ws2tcpip.h: New file.
* include/winsock.h (IPPROTO_IGMP): New define.
(IPPROTO_GGP): Correct value.
(SO_* macros): Remove mswsock defines.
(TCP_BSDURGENT): Likewise.
(IP_* macros): Add comment warning of WinSock2 incompatibility
(WSARecvEx): Remove mswsock prototype.
(TransmitFile): Likewise.
(AcceptEx): Likewise.
(GetAcceptExSockaddrs): Likewise.
(struct _TRANSMIT_FILE_BUFFERS): Remove mswsock definition.
(#include <mswsock.h>): Add directive and explanatory comment
* include/winsock2.h (header guard): add guard for  _WINSOCK_H
(_WINSOCK_H): Define to prevent later inclusion of winsock.h
(#include <winsock.h>): Replace directive with winsock.h file content
The following changes apply to the merged file:
(FD_SET): Keep winsock2.h definition, delete winsock.h definition
(SOMAXCONN): Likewise
(#include <nspapi.h>): Move - don't include until LPSOCKADDR defined
(IP_* macros): Delete WinSock1 definitions (WinSock2 definitions now
in ws2tcpip.h)
(struct ip_mreq): Delete (now defined in ws2tcpip.h for WinSock2)
(FD_*_BIT and FD_* defines): Place together and extend to
FD_MAX_EVENTS 10
(AF* defines): Extend to AF_MAX 10
(WSAIsBlocking): #if 0 out prototype (N/A in WinSock2)
(WSAUnhookBlockingHook): Likewise.
(WSASetBlockingHook): Likewise.
(WSACancelBlockingCall): Likewise.
(WSAEINPROGRESS): Comment as not raised in WinSock2.
(#include <mswsock.h>): Delete directive inherited from winsock.h
(WSA_QOS* defines): Add QualityOfService error codes.
(SIO_* defines): Add new macros
* include/ipexport.h (IP_STATUS flags): Add definitions.
(IP_FLAG_DF): Likewise.
(IP_OPT_* ): Likewise.
(struct ip_option_information): Likewise.
(struct icmp_echo_reply): Likewise.
winsup/w32api/ChangeLog
winsup/w32api/include/ipexport.h
winsup/w32api/include/mswsock.h [new file with mode: 0644]
winsup/w32api/include/winsock.h
winsup/w32api/include/winsock2.h
winsup/w32api/include/ws2tcpip.h [new file with mode: 0644]
This page took 0.031945 seconds and 5 git commands to generate.