Home
last modified time | relevance | path

Searched refs:curl_context_t (Results 1 – 3 of 3) sorted by relevance

/third_party/libuv/docs/code/uvwget/
Dmain.c14 } curl_context_t; typedef
16 curl_context_t *create_curl_context(curl_socket_t sockfd) { in create_curl_context()
17 curl_context_t *context; in create_curl_context()
19 context = (curl_context_t*) malloc(sizeof *context); in create_curl_context()
31 curl_context_t *context = (curl_context_t*) handle->data; in curl_close_cb()
35 void destroy_curl_context(curl_context_t *context) { in destroy_curl_context()
89 curl_context_t *context; in curl_perform()
91 context = (curl_context_t*)req; in curl_perform()
110 curl_context_t *curl_context; in handle_socket()
113 curl_context = (curl_context_t*) socketp; in handle_socket()
[all …]
/third_party/curl/docs/examples/
Dmulti-uv.c49 } curl_context_t; typedef
51 static curl_context_t *create_curl_context(curl_socket_t sockfd) in create_curl_context()
53 curl_context_t *context; in create_curl_context()
55 context = (curl_context_t *) malloc(sizeof(*context)); in create_curl_context()
67 curl_context_t *context = (curl_context_t *) handle->data; in curl_close_cb()
71 static void destroy_curl_context(curl_context_t *context) in destroy_curl_context()
138 curl_context_t *context; in curl_perform()
145 context = (curl_context_t *) req->data; in curl_perform()
178 curl_context_t *curl_context; in handle_socket()
186 (curl_context_t *) socketp : create_curl_context(s); in handle_socket()
[all …]
Dmulti-event.c42 } curl_context_t; typedef
46 static curl_context_t *create_curl_context(curl_socket_t sockfd) in create_curl_context()
48 curl_context_t *context; in create_curl_context()
50 context = (curl_context_t *) malloc(sizeof(*context)); in create_curl_context()
59 static void destroy_curl_context(curl_context_t *context) in destroy_curl_context()
128 curl_context_t *context; in curl_perform()
135 context = (curl_context_t *) arg; in curl_perform()
172 curl_context_t *curl_context; in handle_socket()
180 (curl_context_t *) socketp : create_curl_context(s); in handle_socket()
199 event_del(((curl_context_t*) socketp)->event); in handle_socket()
[all …]