|
void | pj_dns_settings_default (pj_dns_settings *s) |
|
pj_status_t | pj_dns_resolver_create (pj_pool_factory *pf, const char *name, unsigned options, pj_timer_heap_t *timer, pj_ioqueue_t *ioqueue, pj_dns_resolver **p_resolver) |
|
pj_status_t | pj_dns_resolver_set_ns (pj_dns_resolver *resolver, unsigned count, const pj_str_t servers[], const pj_uint16_t ports[]) |
|
pj_status_t | pj_dns_resolver_get_settings (pj_dns_resolver *resolver, pj_dns_settings *st) |
|
pj_status_t | pj_dns_resolver_set_settings (pj_dns_resolver *resolver, const pj_dns_settings *st) |
|
void | pj_dns_resolver_handle_events (pj_dns_resolver *resolver, const pj_time_val *timeout) |
|
pj_status_t | pj_dns_resolver_destroy (pj_dns_resolver *resolver, pj_bool_t notify) |
|
pj_status_t | pj_dns_resolver_start_query (pj_dns_resolver *resolver, const pj_str_t *name, int type, unsigned options, pj_dns_callback *cb, void *user_data, pj_dns_async_query **p_query) |
|
pj_status_t | pj_dns_resolver_cancel_query (pj_dns_async_query *query, pj_bool_t notify) |
|
pj_status_t | pj_dns_parse_a_response (const pj_dns_parsed_packet *pkt, pj_dns_a_record *rec) |
|
pj_status_t | pj_dns_parse_addr_response (const pj_dns_parsed_packet *pkt, pj_dns_addr_record *rec) |
|
pj_status_t | pj_dns_resolver_add_entry (pj_dns_resolver *resolver, const pj_dns_parsed_packet *pkt, pj_bool_t set_ttl) |
|
unsigned | pj_dns_resolver_get_cached_count (pj_dns_resolver *resolver) |
|
void | pj_dns_resolver_dump (pj_dns_resolver *resolver, pj_bool_t detail) |
|
Asynchronous DNS resolver.