• Home
  • Raw
  • Download

Lines Matching refs:current_base

372 static struct evdns_base *current_base = NULL;  variable
377 return current_base; in evdns_get_global_base()
2369 return evdns_base_count_nameservers(current_base); in evdns_count_nameservers()
2441 return evdns_base_clear_nameservers_and_suspend(current_base); in evdns_clear_nameservers_and_suspend()
2459 return evdns_base_resume(current_base); in evdns_resume()
2562 if (!current_base) in evdns_nameserver_add()
2563 current_base = evdns_base_new(NULL, 0); in evdns_nameserver_add()
2564 return evdns_base_nameserver_add(current_base, address); in evdns_nameserver_add()
2614 if (!current_base) in evdns_nameserver_ip_add()
2615 current_base = evdns_base_new(NULL, 0); in evdns_nameserver_ip_add()
2616 return evdns_base_nameserver_ip_add(current_base, ip_as_string); in evdns_nameserver_ip_add()
2858 return evdns_base_resolve_ipv4(current_base, name, flags, callback, ptr) in evdns_resolve_ipv4()
2895 return evdns_base_resolve_ipv6(current_base, name, flags, callback, ptr) in evdns_resolve_ipv6()
2929 return evdns_base_resolve_reverse(current_base, in, flags, callback, ptr) in evdns_resolve_reverse()
2969 return evdns_base_resolve_reverse_ipv6(current_base, in, flags, callback, ptr) in evdns_resolve_reverse_ipv6()
3042 evdns_base_search_clear(current_base); in evdns_search_clear()
3092 evdns_base_search_add(current_base, domain); in evdns_search_add()
3106 evdns_base_search_ndots_set(current_base, ndots); in evdns_search_ndots_set()
3466 if (!current_base) in evdns_set_option()
3467 current_base = evdns_base_new(NULL, 0); in evdns_set_option()
3468 return evdns_base_set_option(current_base, option, val); in evdns_set_option()
3607 if (!current_base) in evdns_resolv_conf_parse()
3608 current_base = evdns_base_new(NULL, 0); in evdns_resolv_conf_parse()
3609 return evdns_base_resolv_conf_parse(current_base, flags, filename); in evdns_resolv_conf_parse()
3811 base = current_base; in evdns_base_config_windows_nameservers()
3833 if (!current_base) { in evdns_config_windows_nameservers()
3834 current_base = evdns_base_new(NULL, 1); in evdns_config_windows_nameservers()
3835 return current_base == NULL ? -1 : 0; in evdns_config_windows_nameservers()
3837 return evdns_base_config_windows_nameservers(current_base); in evdns_config_windows_nameservers()
3912 current_base = base; in evdns_init()
4027 if (current_base) { in evdns_shutdown()
4028 struct evdns_base *b = current_base; in evdns_shutdown()
4029 current_base = NULL; in evdns_shutdown()
4133 base = current_base; in evdns_base_load_hosts()
4549 dns_base = current_base; in evdns_getaddrinfo()