Lines Matching refs:hnd
70 CURL *hnd;
77 hnd = curl_easy_init();
78 curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
79 curl_easy_setopt(hnd, CURLOPT_INFILESIZE_LARGE, (curl_off_t)38);
80 curl_easy_setopt(hnd, CURLOPT_URL, "smtp://%HOSTIP:%SMTPPORT/1406");
81 curl_easy_setopt(hnd, CURLOPT_HEADER, 1L);
82 curl_easy_setopt(hnd, CURLOPT_UPLOAD, 1L);
83 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
84 curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L);
85 curl_easy_setopt(hnd, CURLOPT_MAIL_FROM, "sender@example.com");
86 curl_easy_setopt(hnd, CURLOPT_MAIL_RCPT, slist1);
108 ret = curl_easy_perform(hnd);
110 curl_easy_cleanup(hnd);
111 hnd = NULL;