diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-01-20 10:58:12 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-20 10:58:12 +0100 |
commit | 60e8e44a5e86a8d14389697f7143c3175f76ddef (patch) | |
tree | ca4608db1f117c1e7e489bbf7ae8deb490e0ec3f /lib/http_chunks.h | |
parent | fb4c5d55b5f0fae834ffc1cc14006f4ed7f4af18 (diff) | |
download | curl-bagder/chunk-encoding-data.tar.gz |
chunk/encoding: remove conn->data referencesbagder/chunk-encoding-data
... by anchoring more functions on Curl_easy instad of connectdata
Diffstat (limited to 'lib/http_chunks.h')
-rw-r--r-- | lib/http_chunks.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http_chunks.h b/lib/http_chunks.h index 6831613ef..a563c36fb 100644 --- a/lib/http_chunks.h +++ b/lib/http_chunks.h @@ -91,8 +91,8 @@ struct Curl_chunker { }; /* The following functions are defined in http_chunks.c */ -void Curl_httpchunk_init(struct connectdata *conn); -CHUNKcode Curl_httpchunk_read(struct connectdata *conn, char *datap, +void Curl_httpchunk_init(struct Curl_easy *data); +CHUNKcode Curl_httpchunk_read(struct Curl_easy *data, char *datap, ssize_t length, ssize_t *wrote, CURLcode *passthru); |