Lines Matching defs:curl
12 * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
29 #include <curl/curl.h>
127 CURL *curl;
133 curl = curl_easy_init();
134 if(curl) {
135 curl_easy_setopt(curl, CURLOPT_DEBUGFUNCTION, my_trace);
136 curl_easy_setopt(curl, CURLOPT_DEBUGDATA, &config);
139 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
142 curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
144 curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/");
145 res = curl_easy_perform(curl);
152 curl_easy_cleanup(curl);