Lines Matching refs:easy
49 static void showem(CURL *easy, unsigned int type) in showem() argument
54 if(CURLHE_OK == curl_easy_header(easy, testdata[i], 0, type, in showem()
66 if(CURLHE_OK != curl_easy_header(easy, testdata[i], index, type, in showem()
88 CURL *easy = NULL; in test() local
92 easy_init(easy); in test()
93 easy_setopt(easy, CURLOPT_URL, URL); in test()
94 easy_setopt(easy, CURLOPT_VERBOSE, 1L); in test()
95 easy_setopt(easy, CURLOPT_FOLLOWLOCATION, 1L); in test()
97 easy_setopt(easy, CURLOPT_WRITEFUNCTION, write_cb); in test()
101 easy_setopt(easy, CURLOPT_PROXY, libtest_arg2); in test()
102 easy_setopt(easy, CURLOPT_HTTPPROXYTUNNEL, 1L); in test()
104 res = curl_easy_perform(easy); in test()
108 showem(easy, CURLH_HEADER); in test()
111 showem(easy, CURLH_CONNECT); in test()
113 showem(easy, CURLH_1XX); in test()
114 showem(easy, CURLH_TRAILER); in test()
117 curl_easy_cleanup(easy); in test()