Lines Matching refs:hnd
71 CURL *hnd;
73 hnd = curl_easy_init();
74 curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
75 curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER");
76 curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "foo=bar&baz=quux");
77 curl_easy_setopt(hnd, CURLOPT_POSTFIELDSIZE_LARGE, (curl_off_t)16);
78 curl_easy_setopt(hnd, CURLOPT_USERAGENT, "stripped");
79 curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
80 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
82 curl_easy_setopt(hnd, CURLOPT_FTP_SKIP_PASV_IP, 1L);
84 curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L);
105 ret = curl_easy_perform(hnd);
107 curl_easy_cleanup(hnd);
108 hnd = NULL;