Lines Matching refs:handles
44 CURL *handles[HANDLECOUNT];
47 int still_running; /* keep number of running handles */
55 handles[i] = curl_easy_init();
58 curl_easy_setopt(handles[HTTP_HANDLE], CURLOPT_URL, "http://example.com");
60 curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_URL, "ftp://example.com");
61 curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_UPLOAD, 1L);
68 curl_multi_add_handle(multi_handle, handles[i]);
130 found = (msg->easy_handle == handles[idx]);
148 /* Free the CURL handles */
150 curl_easy_cleanup(handles[i]);