Lines Matching defs:curl
12 * are also available at https://curl.haxx.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
30 CURL *curl;
40 curl = curl_easy_init();
41 if(!curl) {
47 test_setopt(curl, CURLOPT_VERBOSE, 1L);
48 test_setopt(curl, CURLOPT_AWS_SIGV4, "xxx:yyy:rrr");
49 test_setopt(curl, CURLOPT_USERPWD, "xxx:yyy");
50 test_setopt(curl, CURLOPT_HEADER, 0L);
51 test_setopt(curl, CURLOPT_URL, URL);
55 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to);
57 test_setopt(curl, CURLOPT_HTTPHEADER, list);
59 res = curl_easy_perform(curl);
65 curl_easy_cleanup(curl);