Lines Matching defs:curl
12 * are also available at http://curl.haxx.se/docs/copyright.html.
23 #include <curl/curl.h>
119 CURL *curl;
125 curl = curl_easy_init();
126 if(curl) {
127 curl_easy_setopt(curl, CURLOPT_DEBUGFUNCTION, my_trace);
128 curl_easy_setopt(curl, CURLOPT_DEBUGDATA, &config);
131 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
134 curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
136 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/");
137 res = curl_easy_perform(curl);
144 curl_easy_cleanup(curl);