Home | History | Annotate | Download | only in examples

Lines Matching refs:curl

12  * are also available at https://curl.haxx.se/docs/copyright.html.
27 #include <curl/curl.h>
31 CURL *curl;
36 curl = curl_easy_init();
37 if(curl) {
38 curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/");
51 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
61 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
65 res = curl_easy_perform(curl);
72 curl_easy_cleanup(curl);