Searched refs:upload_ctx (Results 1 – 7 of 7) sorted by relevance
/curl/tests/libtest/ |
H A D | lib1520.c | 54 struct upload_status *upload_ctx = (struct upload_status *)userp; in read_callback() local 61 data = payload_text[upload_ctx->lines_read]; in read_callback() 66 upload_ctx->lines_read++; in read_callback() 79 struct upload_status upload_ctx = {0}; in test() local 101 test_setopt(curl, CURLOPT_READDATA, &upload_ctx); in test()
|
/curl/docs/examples/ |
H A D | imap-append.c | 64 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local 72 data = &payload_text[upload_ctx->bytes_read]; in payload_source() 79 upload_ctx->bytes_read += len; in payload_source() 96 struct upload_status upload_ctx = { 0 }; in main() local 109 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
|
H A D | smtp-mail.c | 69 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local 77 data = &payload_text[upload_ctx->bytes_read]; in payload_source() 84 upload_ctx->bytes_read += len; in payload_source() 97 struct upload_status upload_ctx = { 0 }; in main() local 124 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
|
H A D | smtp-authzid.c | 72 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local 80 data = &payload_text[upload_ctx->bytes_read]; in payload_source() 87 upload_ctx->bytes_read += len; in payload_source() 100 struct upload_status upload_ctx = { 0 }; in main() local 136 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
|
H A D | smtp-multi.c | 62 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local 70 data = &payload_text[upload_ctx->bytes_read]; in payload_source() 77 upload_ctx->bytes_read += len; in payload_source() 91 struct upload_status upload_ctx = { 0 }; in main() local 125 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
|
H A D | smtp-tls.c | 66 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local 74 data = &payload_text[upload_ctx->bytes_read]; in payload_source() 81 upload_ctx->bytes_read += len; in payload_source() 94 struct upload_status upload_ctx = { 0 }; in main() local 148 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
|
H A D | smtp-ssl.c | 66 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local 74 data = &payload_text[upload_ctx->bytes_read]; in payload_source() 81 upload_ctx->bytes_read += len; in payload_source() 94 struct upload_status upload_ctx = { 0 }; in main() local 146 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
|
Completed in 10 milliseconds