Home
last modified time | relevance | path

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

/external/curl/docs/examples/
Dimap-append.c57 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local
64 data = payload_text[upload_ctx->lines_read]; in payload_source()
69 upload_ctx->lines_read++; in payload_source()
81 struct upload_status upload_ctx; in main() local
83 upload_ctx.lines_read = 0; in main()
100 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
Dsmtp-mail.c58 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local
65 data = payload_text[upload_ctx->lines_read]; in payload_source()
70 upload_ctx->lines_read++; in payload_source()
83 struct upload_status upload_ctx; in main() local
85 upload_ctx.lines_read = 0; in main()
111 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
Dsmtp-tls.c59 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local
66 data = payload_text[upload_ctx->lines_read]; in payload_source()
71 upload_ctx->lines_read++; in payload_source()
84 struct upload_status upload_ctx; in main() local
86 upload_ctx.lines_read = 0; in main()
139 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
Dsmtp-ssl.c59 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local
66 data = payload_text[upload_ctx->lines_read]; in payload_source()
71 upload_ctx->lines_read++; in payload_source()
84 struct upload_status upload_ctx; in main() local
86 upload_ctx.lines_read = 0; in main()
137 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
Dsmtp-multi.c59 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local
66 data = payload_text[upload_ctx->lines_read]; in payload_source()
71 upload_ctx->lines_read++; in payload_source()
103 struct upload_status upload_ctx; in main() local
105 upload_ctx.lines_read = 0; in main()
139 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
/external/curl/tests/libtest/
Dlib1520.c52 struct upload_status *upload_ctx = (struct upload_status *)userp; in read_callback() local
59 data = payload_text[upload_ctx->lines_read]; in read_callback()
64 upload_ctx->lines_read++; in read_callback()
77 struct upload_status upload_ctx = {0}; in test() local
98 test_setopt(curl, CURLOPT_READDATA, &upload_ctx); in test()