Lines Matching defs:curl
12 * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
31 #include <curl/curl.h>
42 CURL *curl;
45 curl = curl_easy_init();
46 if(curl) {
48 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
49 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
53 curl_easy_setopt(curl, CURLOPT_URL, "pop3s://pop.example.com/1");
64 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
72 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
78 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
81 res = curl_easy_perform(curl);
89 curl_easy_cleanup(curl);