Home
last modified time | relevance | path

Searched refs:upload_ctx (Results 1 – 7 of 7) sorted by relevance

/curl/tests/libtest/
H A Dlib1520.c54 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 Dimap-append.c64 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 Dsmtp-mail.c69 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 Dsmtp-authzid.c72 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 Dsmtp-multi.c62 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 Dsmtp-tls.c66 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 Dsmtp-ssl.c66 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 12 milliseconds