Lines Matching refs:hnd
74 CURL *hnd;
81 hnd = curl_easy_init();
82 curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
83 curl_easy_setopt(hnd, CURLOPT_URL, "smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER");
84 curl_easy_setopt(hnd, CURLOPT_UPLOAD, 1L);
85 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
86 curl_easy_setopt(hnd, CURLOPT_FTP_SKIP_PASV_IP, 1L);
87 curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L);
88 curl_easy_setopt(hnd, CURLOPT_MAIL_FROM, "sender@example.com");
89 curl_easy_setopt(hnd, CURLOPT_MAIL_RCPT, slist1);
90 curl_easy_setopt(hnd, CURLOPT_INFILESIZE_LARGE, (curl_off_t)38);
111 ret = curl_easy_perform(hnd);
113 curl_easy_cleanup(hnd);
114 hnd = NULL;