Lines Matching refs:event
37 struct event *timeout;
40 struct event *event; member
44 static void curl_perform(int fd, short event, void *arg);
54 context->event = event_new(base, sockfd, 0, curl_perform, context); in create_curl_context()
61 event_del(context->event); in destroy_curl_context()
62 event_free(context->event); in destroy_curl_context()
124 static void curl_perform(int fd, short event, void *arg) in curl_perform() argument
130 if(event & EV_READ) in curl_perform()
132 if(event & EV_WRITE) in curl_perform()
190 event_del(curl_context->event); in handle_socket()
191 event_assign(curl_context->event, base, curl_context->sockfd, events, in handle_socket()
193 event_add(curl_context->event, NULL); in handle_socket()
198 event_del(((curl_context_t*) socketp)->event); in handle_socket()