Lines Matching defs:curl
12 * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
103 CURL *curl;
105 curl = curl_easy_init();
106 if(!curl) {
111 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
112 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
113 curl_easy_setopt(curl, CURLOPT_URL, tdata->url);
115 curl_easy_setopt(curl, CURLOPT_SHARE, tdata->share);
118 code = curl_easy_perform(curl);
126 curl_easy_cleanup(curl);
138 CURL *curl;
202 curl = curl_easy_init();
203 if(!curl) {
211 test_setopt(curl, CURLOPT_URL, url);
213 test_setopt(curl, CURLOPT_SHARE, share);
216 res = curl_easy_perform(curl);
233 curl_easy_cleanup(curl);