Home
last modified time | relevance | path

Searched refs:writer (Results 1 – 11 of 11) sorted by relevance

/curl/lib/
H A Dcontent_encoding.c180 struct zlib_writer *zp = (struct zlib_writer *) writer; in inflate_stream()
283 struct zlib_writer *zp = (struct zlib_writer *) writer; in deflate_do_init()
300 struct zlib_writer *zp = (struct zlib_writer *) writer; in deflate_do_write()
320 struct zlib_writer *zp = (struct zlib_writer *) writer; in deflate_do_close()
340 struct zlib_writer *zp = (struct zlib_writer *) writer; in gzip_do_init()
904 (void)writer; in error_do_init()
912 (void) writer; in error_do_write()
931 (void) writer; in error_do_close()
995 struct Curl_cwriter *writer; in Curl_build_unencoding_stack() local
1053 result = Curl_cwriter_add(data, writer); in Curl_build_unencoding_stack()
[all …]
H A Dsendf.c100 while(writer) { in cl_reset_writer()
102 writer->cwt->do_close(data, writer); in cl_reset_writer()
103 free(writer); in cl_reset_writer()
181 if(!writer) in Curl_cwriter_write()
183 return writer->cwt->do_write(data, writer, type, buf, nbytes); in Curl_cwriter_write()
190 (void)writer; in Curl_cwriter_def_init()
205 (void) writer; in Curl_cwriter_def_close()
410 if(writer) { in Curl_cwriter_free()
411 writer->cwt->do_close(data, writer); in Curl_cwriter_free()
482 for(writer = data->req.writer_stack; writer; writer = writer->next) { in Curl_cwriter_get_by_name()
[all …]
H A Dsendf.h111 struct Curl_cwriter *writer);
113 struct Curl_cwriter *writer, int type,
116 struct Curl_cwriter *writer);
148 struct Curl_cwriter *writer);
160 struct Curl_cwriter *writer);
180 struct Curl_cwriter *writer, int type,
198 struct Curl_cwriter *writer);
200 struct Curl_cwriter *writer, int type,
203 struct Curl_cwriter *writer);
H A Dcw-out.c110 struct Curl_cwriter *writer, int type,
112 static void cw_out_close(struct Curl_easy *data, struct Curl_cwriter *writer);
114 struct Curl_cwriter *writer);
126 struct Curl_cwriter *writer) in cw_out_init() argument
128 struct cw_out_ctx *ctx = writer->ctx; in cw_out_init()
154 static void cw_out_close(struct Curl_easy *data, struct Curl_cwriter *writer) in cw_out_close() argument
156 struct cw_out_ctx *ctx = writer->ctx; in cw_out_close()
400 struct Curl_cwriter *writer, int type, in cw_out_write() argument
403 struct cw_out_ctx *ctx = writer->ctx; in cw_out_write()
H A Dhttp_chunks.c405 struct Curl_cwriter *writer) in cw_chunked_init() argument
407 struct chunked_writer *ctx = writer->ctx; in cw_chunked_init()
415 struct Curl_cwriter *writer) in cw_chunked_close() argument
417 struct chunked_writer *ctx = writer->ctx; in cw_chunked_close()
422 struct Curl_cwriter *writer, int type, in cw_chunked_write() argument
425 struct chunked_writer *ctx = writer->ctx; in cw_chunked_write()
430 return Curl_cwriter_write(data, writer->next, type, buf, blen); in cw_chunked_write()
433 result = httpchunk_readwrite(data, &ctx->ch, writer->next, buf, blen, in cw_chunked_write()
H A Dheaders.c352 struct Curl_cwriter *writer, int type, in hds_cw_collect_write() argument
367 return Curl_cwriter_write(data, writer->next, type, buf, blen); in hds_cw_collect_write()
381 struct Curl_cwriter *writer; in Curl_headers_init() local
389 result = Curl_cwriter_create(&writer, data, &hds_cw_collect, in Curl_headers_init()
394 result = Curl_cwriter_add(data, writer); in Curl_headers_init()
396 Curl_cwriter_free(data, writer); in Curl_headers_init()
H A Dbufq.h237 ssize_t Curl_bufq_pass(struct bufq *q, Curl_bufq_writer *writer,
275 Curl_bufq_writer *writer, void *writer_ctx,
H A Dws.c367 struct Curl_cwriter *writer) in ws_cw_init() argument
369 struct ws_cw_ctx *ctx = writer->ctx; in ws_cw_init()
375 static void ws_cw_close(struct Curl_easy *data, struct Curl_cwriter *writer) in ws_cw_close() argument
377 struct ws_cw_ctx *ctx = writer->ctx; in ws_cw_close()
426 struct Curl_cwriter *writer, int type, in ws_cw_write() argument
429 struct ws_cw_ctx *ctx = writer->ctx; in ws_cw_write()
434 return Curl_cwriter_write(data, writer->next, type, buf, nbytes); in ws_cw_write()
456 pass_ctx.next_writer = writer->next; in ws_cw_write()
H A Dbufq.c582 ssize_t Curl_bufq_pass(struct bufq *q, Curl_bufq_writer *writer, in Curl_bufq_pass() argument
592 chunk_written = writer(writer_ctx, buf, blen, err); in Curl_bufq_pass()
616 Curl_bufq_writer *writer, void *writer_ctx, in Curl_bufq_write_pass() argument
625 n = Curl_bufq_pass(q, writer, writer_ctx, err); in Curl_bufq_write_pass()
H A Dftp.c344 struct Curl_cwriter *writer, int type, in ftp_cw_lc_write() argument
348 struct ftp_cw_lc_ctx *ctx = writer->ctx; in ftp_cw_lc_write()
352 return Curl_cwriter_write(data, writer->next, type, buf, blen); in ftp_cw_lc_write()
366 result = Curl_cwriter_write(data, writer->next, chunk_type, &nl, 1); in ftp_cw_lc_write()
382 result = Curl_cwriter_write(data, writer->next, chunk_type, in ftp_cw_lc_write()
396 return Curl_cwriter_write(data, writer->next, type, buf, blen); in ftp_cw_lc_write()
402 return Curl_cwriter_write(data, writer->next, type, &nl, 1); in ftp_cw_lc_write()
405 return Curl_cwriter_write(data, writer->next, type, buf, 0); in ftp_cw_lc_write()
/curl/docs/examples/
H A Dhtmltitle.cpp74 static int writer(char *data, size_t size, size_t nmemb, in writer() function
118 code = curl_easy_setopt(conn, CURLOPT_WRITEFUNCTION, writer); in init()

Completed in 33 milliseconds