Lines Matching refs:hnd
63 CURL *hnd;
65 hnd = curl_easy_init();
66 curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
67 curl_easy_setopt(hnd, CURLOPT_URL, "imap://%HOSTIP:%IMAPPORT/1420/;MAILINDEX=1");
68 curl_easy_setopt(hnd, CURLOPT_USERPWD, "user:secret");
69 curl_easy_setopt(hnd, CURLOPT_HTTP09_ALLOWED, 1L);
70 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
71 curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L);
93 ret = curl_easy_perform(hnd);
95 curl_easy_cleanup(hnd);
96 hnd = NULL;