summaryrefslogtreecommitdiffstats
path: root/lib/sendf.h
diff options
context:
space:
mode:
authorCurl Upstream <curl-library@lists.haxx.se>2022-04-27 06:11:01 (GMT)
committerBrad King <brad.king@kitware.com>2022-04-28 19:15:44 (GMT)
commit2a9bc9ebf09fbafa5378d143083434204e9f233e (patch)
treed55420489c10068efaa694b96db2f735539b4339 /lib/sendf.h
parenta1f6ec647cfab8d613897562f8ee5f81a8f6b68d (diff)
downloadCMake-2a9bc9ebf09fbafa5378d143083434204e9f233e.zip
CMake-2a9bc9ebf09fbafa5378d143083434204e9f233e.tar.gz
CMake-2a9bc9ebf09fbafa5378d143083434204e9f233e.tar.bz2
curl 2022-04-27 (1669b17d)
Code extracted from: https://github.com/curl/curl.git at commit 1669b17d3a1a1fd824308544ca0ec02a2a4f50ea (curl-7_83_0).
Diffstat (limited to 'lib/sendf.h')
-rw-r--r--lib/sendf.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/sendf.h b/lib/sendf.h
index 108a5e9..6676003 100644
--- a/lib/sendf.h
+++ b/lib/sendf.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -45,8 +45,12 @@ void Curl_failf(struct Curl_easy *, const char *fmt, ...);
#define failf Curl_failf
-#define CLIENTWRITE_BODY (1<<0)
-#define CLIENTWRITE_HEADER (1<<1)
+#define CLIENTWRITE_BODY (1<<0)
+#define CLIENTWRITE_HEADER (1<<1)
+#define CLIENTWRITE_STATUS (1<<2) /* the first "header" is the status line */
+#define CLIENTWRITE_CONNECT (1<<3) /* a CONNECT response */
+#define CLIENTWRITE_1XX (1<<4) /* a 1xx response */
+#define CLIENTWRITE_TRAILER (1<<5) /* a trailer header */
#define CLIENTWRITE_BOTH (CLIENTWRITE_BODY|CLIENTWRITE_HEADER)
CURLcode Curl_client_write(struct Curl_easy *data, int type, char *ptr,