Lines Matching refs:resolver
53 * And only for functions that fulfill the asynch resolver backend API
98 * resolve API. Called from curl_global_init() to initialize global resolver
114 * Called from curl_global_cleanup() to destroy global resolver environment.
127 * Called from curl_easy_init() -> Curl_open() to initialize resolver
128 * URL-state specific environment ('resolver' member of the UrlState
131 CURLcode Curl_resolver_init(void **resolver)
133 int status = ares_init((ares_channel*)resolver);
148 * Called from curl_easy_cleanup() -> Curl_close() to cleanup resolver
149 * URL-state specific environment ('resolver' member of the UrlState
152 void Curl_resolver_cleanup(void *resolver)
154 ares_destroy((ares_channel)resolver);
160 * Called from curl_easy_duphandle() to duplicate resolver URL-state specific
161 * environment ('resolver' member of the UrlState structure). Duplicates the
179 if(conn->data && conn->data->state.resolver)
180 ares_cancel((ares_channel)conn->data->state.resolver);
185 * destroy_async_data() cleans up async resolver data.
224 int max = ares_getsock((ares_channel)conn->data->state.resolver,
230 timeout = ares_timeout((ares_channel)conn->data->state.resolver, &maxtime,
260 bitmask = ares_getsock((ares_channel)data->state.resolver, socks,
288 ares_process_fd((ares_channel)data->state.resolver, ARES_SOCKET_BAD,
293 ares_process_fd((ares_channel)data->state.resolver,
377 tvp = ares_timeout((ares_channel)data->state.resolver, &store, &tv);
406 ares_cancel((ares_channel)data->state.resolver);
419 TODO: remove this action from here, it is not a name resolver decision.
558 ares_gethostbyname((ares_channel)data->state.resolver, hostname,
560 resolver, hostname,
567 ares_gethostbyname((ares_channel)data->state.resolver, hostname,
577 ares_gethostbyname((ares_channel)data->state.resolver, hostname, family,
602 ares_result = ares_set_servers_csv(data->state.resolver, servers);
631 ares_set_local_dev((ares_channel)data->state.resolver, interf);
656 ares_set_local_ip4((ares_channel)data->state.resolver, ntohl(a4.s_addr));
682 ares_set_local_ip6((ares_channel)data->state.resolver, a6);