Lines Matching defs:curl
12 * are also available at http://curl.haxx.se/docs/copyright.html.
23 #include <curl/curl.h>
30 CURL *curl;
39 CURL *curl = myp->curl;
42 curl_easy_getinfo(curl, CURLINFO_TOTAL_TIME, &curtime);
77 CURL *curl;
81 curl = curl_easy_init();
82 if(curl) {
84 prog.curl = curl;
86 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/");
88 curl_easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, older_progress);
90 curl_easy_setopt(curl, CURLOPT_PROGRESSDATA, &prog);
103 curl_easy_setopt(curl, CURLOPT_XFERINFOFUNCTION, xferinfo);
106 curl_easy_setopt(curl, CURLOPT_XFERINFODATA, &prog);
109 curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0L);
110 res = curl_easy_perform(curl);
116 curl_easy_cleanup(curl);