Lines Matching refs:curl
12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
39 CURL *curl;
42 curl = curl_easy_init();
43 if(curl) {
45 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
46 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
49 curl_easy_setopt(curl, CURLOPT_URL, "pop3://pop.example.com/1");
52 res = curl_easy_perform(curl);
60 curl_easy_cleanup(curl);