Lines Matching refs:hnd
79 CURL *hnd;
86 hnd = curl_easy_init();
87 curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
88 curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER");
89 curl_easy_setopt(hnd, CURLOPT_USERPWD, "fake:user");
90 curl_easy_setopt(hnd, CURLOPT_HTTPAUTH, (long)CURLAUTH_BASIC);
91 curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, slist1);
92 curl_easy_setopt(hnd, CURLOPT_USERAGENT, "MyUA");
93 curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
94 curl_easy_setopt(hnd, CURLOPT_COOKIE, "chocolate=chip");
95 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
97 curl_easy_setopt(hnd, CURLOPT_FTP_SKIP_PASV_IP, 1L);
99 curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L);
100 curl_easy_setopt(hnd, CURLOPT_PROTOCOLS_STR, "file,ftp,http");
121 ret = curl_easy_perform(hnd);
123 curl_easy_cleanup(hnd);
124 hnd = NULL;