mirror of
https://github.com/curl/curl.git
synced 2026-08-26 01:13:37 +03:00
Internal cleanup: KEEP_WRITE and KEEP_READ are now called KEEP_SEND and
KEEP_RECV to better match the general terminology: receive and send is what we do from the (remote) servers. We read and write from and to the local fs.
This commit is contained in:
parent
75585f771a
commit
3aa3d7e629
6 changed files with 66 additions and 66 deletions
|
|
@ -653,17 +653,17 @@ struct hostname {
|
|||
*/
|
||||
|
||||
#define KEEP_NONE 0
|
||||
#define KEEP_READ (1<<0) /* there is or may be data to read */
|
||||
#define KEEP_WRITE (1<<1) /* there is or may be data to write */
|
||||
#define KEEP_READ_HOLD (1<<2) /* when set, no reading should be done but there
|
||||
#define KEEP_RECV (1<<0) /* there is or may be data to read */
|
||||
#define KEEP_SEND (1<<1) /* there is or may be data to write */
|
||||
#define KEEP_RECV_HOLD (1<<2) /* when set, no reading should be done but there
|
||||
might still be data to read */
|
||||
#define KEEP_WRITE_HOLD (1<<3) /* when set, no writing should be done but there
|
||||
#define KEEP_SEND_HOLD (1<<3) /* when set, no writing should be done but there
|
||||
might still be data to write */
|
||||
#define KEEP_READ_PAUSE (1<<4) /* reading is paused */
|
||||
#define KEEP_WRITE_PAUSE (1<<5) /* writing is paused */
|
||||
#define KEEP_RECV_PAUSE (1<<4) /* reading is paused */
|
||||
#define KEEP_SEND_PAUSE (1<<5) /* writing is paused */
|
||||
|
||||
#define KEEP_READBITS (KEEP_READ | KEEP_READ_HOLD | KEEP_READ_PAUSE)
|
||||
#define KEEP_WRITEBITS (KEEP_WRITE | KEEP_WRITE_HOLD | KEEP_WRITE_PAUSE)
|
||||
#define KEEP_RECVBITS (KEEP_RECV | KEEP_RECV_HOLD | KEEP_RECV_PAUSE)
|
||||
#define KEEP_SENDBITS (KEEP_SEND | KEEP_SEND_HOLD | KEEP_SEND_PAUSE)
|
||||
|
||||
|
||||
#ifdef HAVE_LIBZ
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue