Lines Matching defs:curl
12 * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
29 #include <curl/curl.h>
33 CURL *curl;
36 curl = curl_easy_init();
37 if(curl) {
38 curl_easy_setopt(curl, CURLOPT_URL, "example.com");
42 curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
44 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
47 res = curl_easy_perform(curl);
54 curl_easy_cleanup(curl);