Lines Matching defs: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://www.example.com/");
37 res = curl_easy_perform(curl);
42 res = curl_easy_getinfo(curl, CURLINFO_CONTENT_TYPE, &ct);
49 curl_easy_cleanup(curl);