Lines Matching defs:curl
12 * are also available at http://curl.haxx.se/docs/copyright.html.
24 #include <curl/mprintf.h>
104 CURL *curl;
107 if ((curl = curl_easy_init()) == NULL) {
112 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
113 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
114 curl_easy_setopt(curl, CURLOPT_URL, tdata->url);
116 curl_easy_setopt(curl, CURLOPT_SHARE, tdata->share);
119 code = curl_easy_perform(curl);
126 curl_easy_cleanup(curl);
138 CURL *curl;
202 if ((curl = curl_easy_init()) == NULL) {
210 test_setopt( curl, CURLOPT_URL, url );
212 test_setopt( curl, CURLOPT_SHARE, share );
215 curl_easy_perform( curl );
232 curl_easy_cleanup( curl );