Lines Matching defs:curl
12 * are also available at http://curl.haxx.se/docs/copyright.html.
23 #include <curl/curl.h>
27 CURL *curl;
30 curl = curl_easy_init();
31 if(curl) {
38 curl_easy_setopt(curl, CURLOPT_URL, "localhost");
39 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
40 res = curl_easy_perform(curl);
47 res = curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk);
48 res = curl_easy_perform(curl);
55 curl_easy_cleanup(curl);