Lines Matching refs:handles
34 CURL *handles[MAX_URLS];
107 handles[i] = curl_easy_init();
117 curl_easy_setopt(handles[handlenum], CURLOPT_URL, urlbuf);
118 curl_easy_setopt(handles[handlenum], CURLOPT_VERBOSE, 1L);
119 curl_easy_setopt(handles[handlenum], CURLOPT_FAILONERROR, 1L);
120 curl_easy_setopt(handles[handlenum], CURLOPT_WRITEFUNCTION, write_callback);
121 curl_easy_setopt(handles[handlenum], CURLOPT_WRITEDATA, NULL);
122 curl_multi_add_handle(m, handles[handlenum]);
130 if(handles[i])
131 curl_easy_cleanup(handles[i]);
201 found = (msg->easy_handle == handles[i]);
207 curl_multi_remove_handle(m, handles[i]);