Lines Matching refs:hnd
54 CURL *hnd;
56 hnd = curl_easy_init();
57 curl_easy_setopt(hnd, CURLOPT_URL, "pop3://%HOSTIP:%POP3PORT/1407");
58 curl_easy_setopt(hnd, CURLOPT_HEADER, 1L);
59 curl_easy_setopt(hnd, CURLOPT_DIRLISTONLY, 1L);
60 curl_easy_setopt(hnd, CURLOPT_USERPWD, "user:secret");
61 curl_easy_setopt(hnd, CURLOPT_USERAGENT, "stripped");
62 curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
63 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
64 curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L);
86 ret = curl_easy_perform(hnd);
88 curl_easy_cleanup(hnd);
89 hnd = NULL;