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_POSTFIELDS, "post fields\n");
48 test_setopt(curl, CURLOPT_VERBOSE, 1L);
49 test_setopt(curl, CURLOPT_AWS_SIGV4, "aws:amz:us-east-1:s3");
50 test_setopt(curl, CURLOPT_USERPWD, "xxx");
51 test_setopt(curl, CURLOPT_HEADER, 0L);
52 test_setopt(curl, CURLOPT_URL, URL);
56 test_setopt(curl, CURLOPT_HTTPHEADER, list);
60 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to);
62 res = curl_easy_perform(curl);
68 curl_easy_cleanup(curl);