Lines Matching refs:multi
74 CURLM *multi; member
129 while((msg = curl_multi_info_read(g->multi, &msgs_left))) { in check_multi_info()
136 curl_multi_remove_handle(g->multi, easy); in check_multi_info()
150 rc = curl_multi_socket_action(g->multi, in timer_cb()
158 static int update_timeout_cb(CURLM *multi, long timeout_ms, void *userp) in update_timeout_cb() argument
190 rc = curl_multi_socket_action(g->multi, fd, action, &g->still_running); in event_cb()
243 curl_multi_assign(g->multi, s, fdp); in addsock()
322 MSG_OUT("Adding easy %p to multi %p (%s)\n", conn->easy, g->multi, url); in new_conn()
323 rc = curl_multi_add_handle(g->multi, conn->easy); in new_conn()
426 g->multi = curl_multi_init(); in main()
427 curl_multi_setopt(g->multi, CURLMOPT_SOCKETFUNCTION, sock_cb); in main()
428 curl_multi_setopt(g->multi, CURLMOPT_SOCKETDATA, g); in main()
429 curl_multi_setopt(g->multi, CURLMOPT_TIMERFUNCTION, update_timeout_cb); in main()
430 curl_multi_setopt(g->multi, CURLMOPT_TIMERDATA, g); in main()
436 curl_multi_cleanup(g->multi); in main()