Lines Matching defs:curl
12 * are also available at http://curl.haxx.se/docs/copyright.html.
29 CURL *curl;
36 if ((curl = curl_easy_init()) == NULL) {
42 test_setopt(curl, CURLOPT_URL, URL);
43 test_setopt(curl, CURLOPT_USERPWD, "monster:underbed");
44 test_setopt(curl, CURLOPT_HEADER, 1L);
45 test_setopt(curl, CURLOPT_VERBOSE, 1L);
48 res = curl_easy_perform(curl);
50 test_setopt(curl, CURLOPT_USERPWD, "anothermonster:inwardrobe");
53 res = curl_easy_perform(curl);
57 curl_easy_cleanup(curl);