Lines Matching defs:curl
12 * are also available at http://curl.haxx.se/docs/copyright.html.
44 CURL *curl;
52 if ((curl = curl_easy_init()) == NULL) {
59 test_setopt(curl, CURLOPT_URL, URL);
62 test_setopt(curl, CURLOPT_NOPROGRESS, 0L);
63 test_setopt(curl, CURLOPT_PROGRESSFUNCTION, progress_callback);
66 test_setopt(curl, CURLOPT_VERBOSE, 1L);
69 test_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
72 test_setopt(curl, CURLOPT_HEADER, 1L);
75 res = curl_easy_perform(curl);
80 curl_easy_cleanup(curl);