Lines Matching refs:hnd
67 CURL *hnd;
74 hnd = curl_easy_init();
75 curl_easy_setopt(hnd, CURLOPT_INFILESIZE_LARGE, (curl_off_t)38);
76 curl_easy_setopt(hnd, CURLOPT_URL, "smtp://%HOSTIP:%SMTPPORT/1406");
77 curl_easy_setopt(hnd, CURLOPT_HEADER, 1L);
78 curl_easy_setopt(hnd, CURLOPT_UPLOAD, 1L);
79 curl_easy_setopt(hnd, CURLOPT_USERAGENT, "stripped");
80 curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
81 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
82 curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L);
83 curl_easy_setopt(hnd, CURLOPT_MAIL_FROM, "sender@example.com");
84 curl_easy_setopt(hnd, CURLOPT_MAIL_RCPT, slist1);
106 ret = curl_easy_perform(hnd);
108 curl_easy_cleanup(hnd);
109 hnd = NULL;