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