Lines Matching defs:handles
50 CURL *handles[HANDLECOUNT];
53 int still_running = 1; /* keep number of running handles */
61 handles[i] = curl_easy_init();
64 curl_easy_setopt(handles[HTTP_HANDLE], CURLOPT_URL, "https://example.com");
66 curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_URL, "ftp://example.com");
67 curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_UPLOAD, 1L);
74 curl_multi_add_handle(multi_handle, handles[i]);
93 int found = (msg->easy_handle == handles[idx]);
109 /* remove the transfers and cleanup the handles */
111 curl_multi_remove_handle(multi_handle, handles[i]);
112 curl_easy_cleanup(handles[i]);