summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/winsock.h
Commit message (Collapse)AuthorAgeFilesLines
* * include/winsock.h: Protect some more newlib defines when compiling cygwin.Christopher Faylor2001-04-231-1/+1
|
* * include/winsock.h (_SYS_TYPES_H macro guard for int types): Remove; use onlyChristopher Faylor2001-03-201-5/+11
| | | | | | | | | _BSDTYPES_DEFINED macro now defined in newlib sys/types.h. (SYS_TYPES_H macro guard for fd_set): Replace with_SYS_TYPES_FD_SET macro now defined in newlib sys/types.h. Emit warning if defined. * include/winsock2.h: Ditto. * include/windows.h (Win32_Winsock): Replace with new macros __USE_W32_SOCKETS and warn of deprecation.
* * include/mswsock.h: New file.Earnie Boyd2001-02-211-27/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * include/basetyps.h: add comment for GUID_DEFINEDEarnie Boyd2000-11-011-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/lm.h: add includes for lmerr.h and lmserver.h * include/lmcons.h: add W2K typedefs LMSTR, LMCSTR * include/lmerr.h: add error codes * include/lmserver.h: replace LPTSTR with LPWSTR, LPTCSTR with LPWCSTR in structures and prototypes * include/lmshare.h: ditto * include/lmuse.h: ditto * include/lmstats.h: ditto * include/oleauto.h: add function prototype SystemTimeToVariantTime * include/winbase.h: change first argument of CommConfigDialog to const * include/windowsx.h: add macros defining FAR versions of mem and string functions for porting from Win16 code * include/winioctl.h: added IOCTL_STORAGE defines * include/winnetwk.h: added WNNC_NET flags * include/winnt.h: add include of <basetsd.h>; add structs; add pointer typedefs for TOKEN structs * include/winsock.h: add guard around BSD-ish typedefs * include/wtypes.h: new VARENUM enums, new WIN32/WIN64 compat. macros * include/basetsd.h: new file * include/raserror.h: ditto * include/rassapi.h: ditto * include/ras.h: ditto comment from Earnie: replaced original ras.h contribution with Danny's contribution as it is more complete. * include/rpcndr.h: add default definition for __RPCNDR_H_VERSION__
* 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>Mumit Khan2000-03-301-7/+7
| | | | | | * include/ole.h: Workaround for C++ parser bug. * include/rpcdcep.h: Likewise. * include/winsock.h: Likewise.
* 2000-02-28 Mumit Khan <khan@xraylith.wisc.edu>Mumit Khan2000-02-291-4/+15
| | | | | | | | | Patches from Jan Nijtmans <j.nijtmans@chello.nl>: * include/winsock.h (FD_CLR): Add missing ')'. (timercmp): Fix macro to handle all 6 comparison operators. (AF_FIREFOX, AF_UNKNOWN1, AF_BAN, AF_ATM, AF_INET6): Define. (AF_MAX): Update. (PF_FIREFOX, PF_UNKNOWN1, PF_BAN, PF_ATM, PF_INET6): Define.
* import winsup-2000-02-17 snapshotChristopher Faylor2000-02-171-0/+510