Lines Matching defs:curl
12 * are also available at http://curl.haxx.se/docs/copyright.html.
69 CURL *curl;
158 if ((curl = curl_easy_init()) == NULL) {
166 test_setopt(curl, CURLOPT_URL, URL);
169 test_setopt(curl, CURLOPT_POST, 1L);
172 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)pooh.sizeleft);
175 test_setopt(curl, CURLOPT_READFUNCTION, read_callback);
178 test_setopt(curl, CURLOPT_HTTPPOST, formpost);
181 test_setopt(curl, CURLOPT_VERBOSE, 1L);
184 test_setopt(curl, CURLOPT_HEADER, 1L);
187 res = curl_easy_perform(curl);
192 curl_easy_cleanup(curl);