Lines Matching defs:curl
12 * are also available at http://curl.haxx.se/docs/copyright.html.
36 CURL *curl;
44 /* get a curl handle */
45 if ((curl = curl_easy_init()) == NULL) {
52 test_setopt(curl, CURLOPT_VERBOSE, 1L);
55 test_setopt(curl, CURLOPT_NOBODY, 1L);
58 test_setopt(curl, CURLOPT_HEADER, 0L);
61 test_setopt(curl,CURLOPT_URL, URL);
64 res = curl_easy_perform(curl);
68 curl_easy_cleanup(curl);