Lines Matching defs:curl
12 * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
31 CURL *curl;
38 curl = curl_easy_init();
39 if(!curl) {
45 test_setopt(curl, CURLOPT_URL, URL);
46 test_setopt(curl, CURLOPT_HEADER, 1L);
47 test_setopt(curl, CURLOPT_USERAGENT, "the-moo agent next generation");
48 test_setopt(curl, CURLOPT_COOKIEFILE, libtest_arg2);
49 test_setopt(curl, CURLOPT_VERBOSE, 1L);
51 res = curl_easy_perform(curl);
58 test_setopt(curl, CURLOPT_COOKIEFILE, NULL);
60 res = curl_easy_perform(curl);
66 curl_easy_cleanup(curl);