Lines Matching defs:hnd
32 CURL *hnd;
35 hnd = curl_easy_init();
36 curl_easy_setopt(hnd, CURLOPT_URL, URL);
37 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
38 curl_easy_setopt(hnd, CURLOPT_HEADER, 1L);
39 curl_easy_setopt(hnd, CURLOPT_USERPWD, "testuser:testpass");
40 curl_easy_setopt(hnd, CURLOPT_USERAGENT, "lib1568");
41 curl_easy_setopt(hnd, CURLOPT_HTTPAUTH, (long)CURLAUTH_DIGEST);
42 curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
43 curl_easy_setopt(hnd, CURLOPT_PORT, strtol(libtest_arg2, NULL, 10));
45 ret = curl_easy_perform(hnd);
47 curl_easy_cleanup(hnd);
48 hnd = NULL;