Lines Matching defs:curl
12 * are also available at http://curl.haxx.se/docs/copyright.html.
23 #include <curl/curl.h>
27 CURL *curl;
38 curl = curl_easy_init();
39 if(curl) {
40 curl_easy_setopt(curl, CURLOPT_RESOLVE, host);
41 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
42 res = curl_easy_perform(curl);
45 curl_easy_cleanup(curl);