Lines Matching refs:hnd
108 CURL *hnd;
121 hnd = curl_easy_init();
122 curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
123 curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/1404");
124 curl_easy_setopt(hnd, CURLOPT_HEADER, 1L);
125 mime1 = curl_mime_init(hnd);
130 mime2 = curl_mime_init(hnd);
144 curl_easy_setopt(hnd, CURLOPT_MIMEPOST, mime1);
145 curl_easy_setopt(hnd, CURLOPT_USERAGENT, "stripped");
146 curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
147 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
148 curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L);
170 ret = curl_easy_perform(hnd);
172 curl_easy_cleanup(hnd);
173 hnd = NULL;