Lines Matching refs:eh
49 CURL *eh[NUM_HANDLES]; variable
56 res_easy_init(eh[num]); in init()
60 res_easy_setopt(eh[num], CURLOPT_URL, url); in init()
64 res_easy_setopt(eh[num], CURLOPT_PROXY, PROXY); in init()
68 res_easy_setopt(eh[num], CURLOPT_PROXYUSERPWD, userpwd); in init()
72 res_easy_setopt(eh[num], CURLOPT_PROXYAUTH, (long)CURLAUTH_ANY); in init()
76 res_easy_setopt(eh[num], CURLOPT_VERBOSE, 1L); in init()
80 res_easy_setopt(eh[num], CURLOPT_HEADER, 1L); in init()
84 res_easy_setopt(eh[num], CURLOPT_HTTPHEADER, headers); /* custom Host: */ in init()
88 res_multi_add_handle(cm, eh[num]); in init()
96 curl_easy_cleanup(eh[num]); in init()
97 eh[num] = NULL; in init()
169 if(eh[i] == e) { in loop()
170 eh[i] = NULL; in loop()
196 eh[i] = NULL; in test()
238 curl_multi_remove_handle(cm, eh[i]); in test()
239 curl_easy_cleanup(eh[i]); in test()