Lines Matching refs:CURL
12 * are also available at https://curl.haxx.se/docs/copyright.html.
27 #include <curl/curl.h>
31 CURL *curl;
34 curl = curl_easy_init();
35 if(curl) {
36 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
38 curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
41 res = curl_easy_perform(curl);
48 curl_easy_cleanup(curl);