summaryrefslogtreecommitdiff
path: root/lib/c-hyper.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-04 09:36:41 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-05 09:37:08 +0100
commitbcce220367fd4c95c4008a36e9b5020b6e3d6a63 (patch)
treea66fda4e1cc19f8671624420e8884fcefdb68bd0 /lib/c-hyper.h
parente269785cf1ce27932ded93186555e51324ceed7f (diff)
downloadcurl-bcce220367fd4c95c4008a36e9b5020b6e3d6a63.tar.gz
http_proxy: make CONNECT work with the Hyper backend
Makes test 80 run Closes #6406
Diffstat (limited to 'lib/c-hyper.h')
-rw-r--r--lib/c-hyper.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/c-hyper.h b/lib/c-hyper.h
index ed0cad46c..e2ff743b2 100644
--- a/lib/c-hyper.h
+++ b/lib/c-hyper.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, 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
@@ -35,6 +35,16 @@ struct hyptransfer {
bool init;
};
+size_t Curl_hyper_recv(void *userp, hyper_context *ctx,
+ uint8_t *buf, size_t buflen);
+size_t Curl_hyper_send(void *userp, hyper_context *ctx,
+ const uint8_t *buf, size_t buflen);
+CURLcode Curl_hyper_stream(struct Curl_easy *data,
+ struct connectdata *conn,
+ int *didwhat,
+ bool *done,
+ int select_res);
+
CURLcode Curl_hyper_header(struct Curl_easy *data, hyper_headers *headers,
const char *line);
void Curl_hyper_done(struct Curl_easy *);