Lines Matching defs:curl
12 * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
32 #include <curl/curl.h>
47 CURL *curl;
51 curl = curl_easy_init();
52 if(curl) {
54 curl_easy_setopt(curl, CURLOPT_URL, "smtp://mail.example.com");
58 curl_easy_setopt(curl, CURLOPT_MAIL_RCPT, recipients);
61 res = curl_easy_perform(curl);
71 /* curl will not send the QUIT command until you call cleanup, so you
77 curl_easy_cleanup(curl);