Lines Matching refs:hnd
70 CURL *hnd;
72 hnd = curl_easy_init();
73 curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
74 curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/1403?foo=bar&baz=quux");
75 curl_easy_setopt(hnd, CURLOPT_USERAGENT, "stripped");
76 curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
77 curl_easy_setopt(hnd, CURLOPT_HTTP09_ALLOWED, 1L);
78 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
79 curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L);
101 ret = curl_easy_perform(hnd);
103 curl_easy_cleanup(hnd);
104 hnd = NULL;