Lines Matching defs:curl
12 * are also available at http://curl.haxx.se/docs/copyright.html.
23 #include <curl/curl.h>
33 CURL *curl;
36 curl = curl_easy_init();
37 if(curl) {
39 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
40 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
45 curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com");
48 res = curl_easy_perform(curl);
56 curl_easy_cleanup(curl);