Lines Matching refs:curl_handle
36 CURLM *curl_handle; variable
84 curl_multi_add_handle(curl_handle, handle); in add_download()
96 while((message = curl_multi_info_read(curl_handle, &pending))) { in check_multi_info()
110 curl_multi_remove_handle(curl_handle, easy_handle); in check_multi_info()
137 curl_multi_socket_action(curl_handle, context->sockfd, flags, in curl_perform()
146 curl_multi_socket_action(curl_handle, CURL_SOCKET_TIMEOUT, 0, in on_timeout()
181 curl_multi_assign(curl_handle, s, (void *) curl_context); in handle_socket()
200 curl_multi_assign(curl_handle, s, NULL); in handle_socket()
223 curl_handle = curl_multi_init(); in main()
224 curl_multi_setopt(curl_handle, CURLMOPT_SOCKETFUNCTION, handle_socket); in main()
225 curl_multi_setopt(curl_handle, CURLMOPT_TIMERFUNCTION, start_timeout); in main()
233 curl_multi_cleanup(curl_handle); in main()