Lines Matching defs:curl
12 * are also available at http://curl.haxx.se/docs/copyright.html.
28 CURL *curl;
36 if ((curl = curl_easy_init()) == NULL) {
43 test_setopt(curl, CURLOPT_URL, URL);
44 test_setopt(curl, CURLOPT_POSTFIELDS, NULL);
45 test_setopt(curl, CURLOPT_POSTFIELDSIZE, 0L);
46 test_setopt(curl, CURLOPT_VERBOSE, 1L); /* show verbose for debug */
47 test_setopt(curl, CURLOPT_HEADER, 1L); /* include header */
50 res = curl_easy_perform(curl);
55 curl_easy_cleanup(curl);