Searched refs:upload_ctx (Results 1 – 6 of 6) sorted by relevance
/external/curl/docs/examples/ |
D | imap-append.c | 57 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()
|
D | smtp-mail.c | 58 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()
|
D | smtp-tls.c | 59 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()
|
D | smtp-ssl.c | 59 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()
|
D | smtp-multi.c | 59 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/ |
D | lib1520.c | 52 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()
|