Home
last modified time | relevance | path

Searched refs:curl_context (Results 1 – 2 of 2) sorted by relevance

/curl/docs/examples/
H A Dmulti-event.c171 curl_context_t *curl_context; in handle_socket() local
178 curl_context = socketp ? in handle_socket()
181 curl_multi_assign(curl_handle, s, (void *) curl_context); in handle_socket()
190 event_del(curl_context->event); in handle_socket()
191 event_assign(curl_context->event, base, curl_context->sockfd, events, in handle_socket()
192 curl_perform, curl_context); in handle_socket()
193 event_add(curl_context->event, NULL); in handle_socket()
H A Dmulti-uv.c191 curl_context_t *curl_context; in cb_socket() local
199 curl_context = socketp ? in cb_socket()
202 curl_multi_assign(uv->multi, s, (void *) curl_context); in cb_socket()
209 uv_poll_start(&curl_context->poll_handle, events, on_uv_socket); in cb_socket()

Completed in 4 milliseconds