Lines Matching refs:curl_handle
8 CURLM *curl_handle; variable
54 curl_multi_add_handle(curl_handle, handle); in add_download()
63 while ((message = curl_multi_info_read(curl_handle, &pending))) { in check_multi_info()
70 curl_multi_remove_handle(curl_handle, message->easy_handle); in check_multi_info()
93 curl_multi_socket_action(curl_handle, context->sockfd, flags, &running_handles); in curl_perform()
99 curl_multi_socket_action(curl_handle, CURL_SOCKET_TIMEOUT, 0, &running_handles); in on_timeout()
117 curl_multi_assign(curl_handle, s, (void *) curl_context); in handle_socket()
132 curl_multi_assign(curl_handle, s, NULL); in handle_socket()
155 curl_handle = curl_multi_init(); in main()
156 curl_multi_setopt(curl_handle, CURLMOPT_SOCKETFUNCTION, handle_socket); in main()
157 curl_multi_setopt(curl_handle, CURLMOPT_TIMERFUNCTION, start_timeout); in main()
164 curl_multi_cleanup(curl_handle); in main()