Lines Matching defs:curl
12 * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
32 CURL *curl = NULL;
50 curl = curl_easy_init();
51 if(!curl) {
58 mime = curl_mime_init(curl);
99 test_setopt(curl, CURLOPT_URL, URL);
102 test_setopt(curl, CURLOPT_MAIL_FROM, "somebody@example.com");
105 test_setopt(curl, CURLOPT_MAIL_RCPT, recipients);
108 test_setopt(curl, CURLOPT_MIMEPOST, mime);
111 test_setopt(curl, CURLOPT_UPLOAD_BUFFERSIZE, 16411L);
114 test_setopt(curl, CURLOPT_VERBOSE, 1L);
117 res = curl_easy_perform(curl);
122 curl_easy_cleanup(curl);