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>
33 CURL *curl;
36 curl = curl_easy_init();
37 if(curl) {
38 curl_easy_setopt(curl, CURLOPT_NETRC, CURL_NETRC_OPTIONAL);
39 curl_easy_setopt(curl, CURLOPT_NETRC_FILE,
41 curl_easy_setopt(curl, CURLOPT_URL, "https://curl.se/");
43 res = curl_easy_perform(curl);
45 curl_easy_cleanup(curl);