Lines Matching refs:eh
47 static CURL *eh[NUM_HANDLES]; variable
54 res_easy_init(eh[num]); in init()
58 res_easy_setopt(eh[num], CURLOPT_URL, url); in init()
62 res_easy_setopt(eh[num], CURLOPT_PROXY, PROXY); in init()
66 res_easy_setopt(eh[num], CURLOPT_PROXYUSERPWD, userpwd); in init()
70 res_easy_setopt(eh[num], CURLOPT_PROXYAUTH, (long)CURLAUTH_ANY); in init()
74 res_easy_setopt(eh[num], CURLOPT_VERBOSE, 1L); in init()
78 res_easy_setopt(eh[num], CURLOPT_HEADER, 1L); in init()
82 res_easy_setopt(eh[num], CURLOPT_HTTPHEADER, headers); /* custom Host: */ in init()
86 res_multi_add_handle(cm, eh[num]); in init()
94 curl_easy_cleanup(eh[num]); in init()
95 eh[num] = NULL; in init()
167 if(eh[i] == e) { in loop()
168 eh[i] = NULL; in loop()
194 eh[i] = NULL; in test()
236 curl_multi_remove_handle(cm, eh[i]); in test()
237 curl_easy_cleanup(eh[i]); in test()