Lines Matching refs:data
58 CURLcode Curl_client_write(struct Curl_easy *data, int type, const char *ptr,
64 void Curl_client_cleanup(struct Curl_easy *data);
70 void Curl_client_reset(struct Curl_easy *data);
76 CURLcode Curl_client_start(struct Curl_easy *data);
110 CURLcode (*do_init)(struct Curl_easy *data,
112 CURLcode (*do_write)(struct Curl_easy *data,
115 void (*do_close)(struct Curl_easy *data,
139 struct Curl_easy *data,
147 void Curl_cwriter_free(struct Curl_easy *data,
153 size_t Curl_cwriter_count(struct Curl_easy *data, Curl_cwriter_phase phase);
159 CURLcode Curl_cwriter_add(struct Curl_easy *data,
166 struct Curl_cwriter *Curl_cwriter_get_by_type(struct Curl_easy *data,
169 void Curl_cwriter_remove_by_name(struct Curl_easy *data,
172 struct Curl_cwriter *Curl_cwriter_get_by_name(struct Curl_easy *data,
179 CURLcode Curl_cwriter_write(struct Curl_easy *data,
186 bool Curl_cwriter_is_paused(struct Curl_easy *data);
191 CURLcode Curl_cwriter_unpause(struct Curl_easy *data);
197 CURLcode Curl_cwriter_def_init(struct Curl_easy *data,
199 CURLcode Curl_cwriter_def_write(struct Curl_easy *data,
202 void Curl_cwriter_def_close(struct Curl_easy *data,
210 CURLcode (*do_init)(struct Curl_easy *data, struct Curl_creader *reader);
211 CURLcode (*do_read)(struct Curl_easy *data, struct Curl_creader *reader,
213 void (*do_close)(struct Curl_easy *data, struct Curl_creader *reader);
214 bool (*needs_rewind)(struct Curl_easy *data, struct Curl_creader *reader);
215 curl_off_t (*total_length)(struct Curl_easy *data,
217 CURLcode (*resume_from)(struct Curl_easy *data,
219 CURLcode (*rewind)(struct Curl_easy *data, struct Curl_creader *reader);
220 CURLcode (*unpause)(struct Curl_easy *data, struct Curl_creader *reader);
221 bool (*is_paused)(struct Curl_easy *data, struct Curl_creader *reader);
222 void (*done)(struct Curl_easy *data,
253 CURLcode Curl_creader_def_init(struct Curl_easy *data,
255 void Curl_creader_def_close(struct Curl_easy *data,
257 CURLcode Curl_creader_def_read(struct Curl_easy *data,
261 bool Curl_creader_def_needs_rewind(struct Curl_easy *data,
263 curl_off_t Curl_creader_def_total_length(struct Curl_easy *data,
265 CURLcode Curl_creader_def_resume_from(struct Curl_easy *data,
268 CURLcode Curl_creader_def_rewind(struct Curl_easy *data,
270 CURLcode Curl_creader_def_unpause(struct Curl_easy *data,
272 bool Curl_creader_def_is_paused(struct Curl_easy *data,
274 void Curl_creader_def_done(struct Curl_easy *data,
281 CURLcode Curl_creader_read(struct Curl_easy *data,
291 struct Curl_easy *data,
299 void Curl_creader_free(struct Curl_easy *data, struct Curl_creader *reader);
305 CURLcode Curl_creader_add(struct Curl_easy *data,
314 CURLcode Curl_creader_set(struct Curl_easy *data, struct Curl_creader *r);
325 CURLcode Curl_client_read(struct Curl_easy *data, char *buf, size_t blen,
332 bool Curl_creader_needs_rewind(struct Curl_easy *data);
337 bool Curl_creader_will_rewind(struct Curl_easy *data);
342 void Curl_creader_set_rewind(struct Curl_easy *data, bool enable);
351 curl_off_t Curl_creader_total_length(struct Curl_easy *data);
360 curl_off_t Curl_creader_client_length(struct Curl_easy *data);
374 CURLcode Curl_creader_resume_from(struct Curl_easy *data, curl_off_t offset);
379 CURLcode Curl_creader_unpause(struct Curl_easy *data);
384 bool Curl_creader_is_paused(struct Curl_easy *data);
389 void Curl_creader_done(struct Curl_easy *data, int premature);
395 struct Curl_creader *Curl_creader_get_by_type(struct Curl_easy *data,
402 CURLcode Curl_creader_set_null(struct Curl_easy *data);
407 CURLcode Curl_creader_set_fread(struct Curl_easy *data, curl_off_t len);
412 CURLcode Curl_creader_set_buf(struct Curl_easy *data,