Lines Matching defs:curl
12 * are also available at https://curl.haxx.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
40 CURL *curl;
50 curl = curl_easy_init();
51 if(!curl) {
57 test_setopt(curl, CURLOPT_UPLOAD, 1L);
58 test_setopt(curl, CURLOPT_READFUNCTION, read_callback);
59 test_setopt(curl, CURLOPT_VERBOSE, 1L);
60 test_setopt(curl, CURLOPT_AWS_SIGV4, "aws:amz:us-east-1:s3");
61 test_setopt(curl, CURLOPT_USERPWD, "xxx");
62 test_setopt(curl, CURLOPT_HEADER, 0L);
63 test_setopt(curl, CURLOPT_URL, URL);
69 test_setopt(curl, CURLOPT_HTTPHEADER, list);
73 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to);
75 res = curl_easy_perform(curl);
81 curl_easy_cleanup(curl);