Lines Matching defs:curl
12 * are also available at http://curl.haxx.se/docs/copyright.html.
34 #include <curl/curl.h>
36 /* curl write callback, to fill tidy's input buffer... */
80 CURL *curl;
87 curl = curl_easy_init();
88 curl_easy_setopt(curl, CURLOPT_URL, argv[1]);
89 curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, curl_errbuf);
90 curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0L);
91 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
92 curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_cb);
100 curl_easy_setopt(curl, CURLOPT_WRITEDATA, &docbuf);
101 err=curl_easy_perform(curl);
119 curl_easy_cleanup(curl);