Lines Matching refs:hnd
114 CURL *hnd;
127 hnd = curl_easy_init();
128 curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
129 curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER");
130 mime1 = curl_mime_init(hnd);
135 mime2 = curl_mime_init(hnd);
149 curl_easy_setopt(hnd, CURLOPT_MIMEPOST, mime1);
150 curl_easy_setopt(hnd, CURLOPT_USERAGENT, "stripped");
151 curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
152 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
154 curl_easy_setopt(hnd, CURLOPT_FTP_SKIP_PASV_IP, 1L);
156 curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L);
177 ret = curl_easy_perform(hnd);
179 curl_easy_cleanup(hnd);
180 hnd = NULL;