Lines Matching defs:curl
12 * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
30 #include <curl/curl.h>
39 { "curl.se", "20370320 03:02:01" },
82 CURL *curl;
85 curl = curl_easy_init();
86 if(curl) {
90 curl_easy_setopt(curl, CURLOPT_HSTS_CTRL, (long)CURLHSTS_ENABLE);
93 curl_easy_setopt(curl, CURLOPT_HSTSREADFUNCTION, hstsread);
94 curl_easy_setopt(curl, CURLOPT_HSTSREADDATA, &st);
98 curl_easy_setopt(curl, CURLOPT_HSTSWRITEFUNCTION, hstswrite);
99 curl_easy_setopt(curl, CURLOPT_HSTSWRITEDATA, NULL);
103 curl_easy_setopt(curl, CURLOPT_URL, "http://curl.se");
105 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
108 res = curl_easy_perform(curl);
115 curl_easy_cleanup(curl);