Lines Matching defs:curl
12 * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
65 CURL *curl;
149 curl = curl_easy_init();
150 if(!curl) {
158 test_setopt(curl, CURLOPT_URL, URL);
161 test_setopt(curl, CURLOPT_POST, 1L);
164 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)pooh.sizeleft);
167 test_setopt(curl, CURLOPT_READFUNCTION, read_callback);
170 test_setopt(curl, CURLOPT_HTTPPOST, formpost);
173 test_setopt(curl, CURLOPT_VERBOSE, 1L);
176 test_setopt(curl, CURLOPT_HEADER, 1L);
179 res = curl_easy_perform(curl);
184 curl_easy_cleanup(curl);