mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
lib/setup.h: portable symbolic names for Winsock shutdown() mode flags
This commit is contained in:
parent
dd69a3e868
commit
f34ddb90e6
12
lib/setup.h
12
lib/setup.h
@ -7,7 +7,7 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
@ -628,4 +628,14 @@ int netware_init(void);
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Portable symbolic names for Winsock shutdown() mode flags.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifdef USE_WINSOCK
|
||||||
|
# define SHUT_RD 0x00
|
||||||
|
# define SHUT_WR 0x01
|
||||||
|
# define SHUT_RDWR 0x02
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* HEADER_CURL_LIB_SETUP_H */
|
#endif /* HEADER_CURL_LIB_SETUP_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user