Home | History | Annotate | Download | only in examples

Lines Matching defs:curl

12  * are also available at https://curl.haxx.se/docs/copyright.html.
30 #include <curl/curl.h>
60 CURL *curl;
67 curl = curl_easy_init();
68 if(!curl)
76 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
77 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
80 curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com/INBOX/;UID=1");
83 curl_multi_add_handle(mcurl, curl);
167 curl_multi_remove_handle(mcurl, curl);
169 curl_easy_cleanup(curl);