Lines Matching refs:user_callback
168 evdns_callback_type user_callback;
238 evdns_request_callback_fn_type user_callback; /* Fn to handle requests */
239 void *user_data; /* Opaque pointer passed to user_callback */
328 static int search_request_new(int type, const char *const name, int flags, evdns_callback_type user_callback, void *user_arg);
650 req->user_callback(DNS_ERR_NONE, DNS_IPv4_A,
655 req->user_callback(err, 0, 0, 0, NULL, req->user_pointer);
660 req->user_callback(DNS_ERR_NONE, DNS_PTR, 1, ttl,
663 req->user_callback(err, 0, 0, 0, NULL,
669 req->user_callback(DNS_ERR_NONE, DNS_IPv6_AAAA,
674 req->user_callback(err, 0, 0, 0, NULL, req->user_pointer);
1021 port->user_callback(&(server_req->base), port->user_data);
1490 port->user_callback = cb;
2266 req->user_callback = callback;
2520 search_request_new(int type, const char *const name, int flags, evdns_callback_type user_callback, void *user_arg) {
2528 req = request_new(type, name, flags, user_callback, user_arg);
2534 req = request_new(type, new_name, flags, user_callback, user_arg);
2546 struct request *const req = request_new(type, name, flags, user_callback, user_arg);
2570 newreq = request_new(req->request_type, req->search_origname, req->search_flags, req->user_callback, req->user_pointer);
2583 newreq = request_new(req->request_type, new_name, req->search_flags, req->user_callback, req->user_pointer);