Lines Matching defs:hnd
53 CURL *hnd;
62 hnd = curl_easy_init();
63 if(hnd) {
64 curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
65 curl_easy_setopt(hnd, CURLOPT_URL, URL);
66 curl_easy_setopt(hnd, CURLOPT_NOPROGRESS, 1L);
67 mime1 = curl_mime_init(hnd);
73 curl_easy_setopt(hnd, CURLOPT_MIMEPOST, mime1);
74 curl_easy_setopt(hnd, CURLOPT_USERAGENT, "curl/2000");
75 curl_easy_setopt(hnd, CURLOPT_FOLLOWLOCATION, 1L);
76 curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
77 curl_easy_setopt(hnd, CURLOPT_HTTP_VERSION,
79 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
80 curl_easy_setopt(hnd, CURLOPT_FTP_SKIP_PASV_IP, 1L);
81 curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L);
82 res = curl_easy_perform(hnd);
86 curl_easy_cleanup(hnd);