* include/sys/socket.h: Move SHUT_xx definitoins from here...
* include/cygwin/socket.h: ...to here.
This commit is contained in:
parent
697ce3c45f
commit
cd9ca871b0
@ -1,3 +1,8 @@
|
|||||||
|
2013-05-31 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* include/sys/socket.h: Move SHUT_xx definitoins from here...
|
||||||
|
* include/cygwin/socket.h: ...to here.
|
||||||
|
|
||||||
2013-05-31 Corinna Vinschen <corinna@vinschen.de>
|
2013-05-31 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* include/cygwin/if.h: Include cygwin/socket.h rather than sys/socket.h
|
* include/cygwin/if.h: Include cygwin/socket.h rather than sys/socket.h
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* cygwin/socket.h
|
/* cygwin/socket.h
|
||||||
|
|
||||||
Copyright 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007, 2009, 2010, 2012
|
Copyright 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007, 2009, 2010, 2012,
|
||||||
Red Hat, Inc.
|
2013 Red Hat, Inc.
|
||||||
|
|
||||||
This file is part of Cygwin.
|
This file is part of Cygwin.
|
||||||
|
|
||||||
@ -302,6 +302,11 @@ struct OLD_msghdr
|
|||||||
#define TCP_MAXSEG 2
|
#define TCP_MAXSEG 2
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* SUS symbolic values for the second parm to shutdown(2) */
|
||||||
|
#define SHUT_RD 0 /* == Win32 SD_RECEIVE */
|
||||||
|
#define SHUT_WR 1 /* == Win32 SD_SEND */
|
||||||
|
#define SHUT_RDWR 2 /* == Win32 SD_BOTH */
|
||||||
|
|
||||||
/* The various priorities. */
|
/* The various priorities. */
|
||||||
#define SOPRI_INTERACTIVE 0
|
#define SOPRI_INTERACTIVE 0
|
||||||
#define SOPRI_NORMAL 1
|
#define SOPRI_NORMAL 1
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* sys/socket.h
|
/* sys/socket.h
|
||||||
|
|
||||||
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2005, 2006, 2009, 2010
|
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2005, 2006, 2009, 2010,
|
||||||
Red Hat, Inc.
|
2013 Red Hat, Inc.
|
||||||
|
|
||||||
This file is part of Cygwin.
|
This file is part of Cygwin.
|
||||||
|
|
||||||
@ -21,11 +21,6 @@ extern "C"
|
|||||||
{
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* SUS symbolic values for the second parm to shutdown(2) */
|
|
||||||
#define SHUT_RD 0 /* == Win32 SD_RECEIVE */
|
|
||||||
#define SHUT_WR 1 /* == Win32 SD_SEND */
|
|
||||||
#define SHUT_RDWR 2 /* == Win32 SD_BOTH */
|
|
||||||
|
|
||||||
#ifndef __INSIDE_CYGWIN_NET__
|
#ifndef __INSIDE_CYGWIN_NET__
|
||||||
int accept (int, struct sockaddr *__peer, socklen_t *);
|
int accept (int, struct sockaddr *__peer, socklen_t *);
|
||||||
int accept4 (int, struct sockaddr *__peer, socklen_t *, int flags);
|
int accept4 (int, struct sockaddr *__peer, socklen_t *, int flags);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user