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);
54 test_setopt(curl, CURLOPT_POSTFIELDS, "moo");
55 test_setopt(curl, CURLOPT_POSTFIELDSIZE, 3L);
56 test_setopt(curl, CURLOPT_POST, 1L);
61 test_setopt(curl, CURLOPT_NOBODY, 1L);
63 test_setopt(curl, CURLOPT_VERBOSE, 1L); /* show verbose for debug */
64 test_setopt(curl, CURLOPT_HEADER, 1L); /* include header */
69 res = curl_easy_perform(curl);
74 curl_easy_cleanup(curl);