19#ifndef __PJLIB_UTIL_SRV_RESOLVER_H__
20#define __PJLIB_UTIL_SRV_RESOLVER_H__
#define PJ_DNS_SRV_MAX_ADDR
Definition: config.h:51
unsigned short pj_uint16_t
struct pj_dns_resolver pj_dns_resolver
Definition: resolver.h:164
struct pj_dns_srv_async_query pj_dns_srv_async_query
Definition: srv_resolver.h:148
void pj_dns_srv_resolver_cb(void *user_data, pj_status_t status, const pj_dns_srv_record *rec)
Definition: srv_resolver.h:154
pj_dns_srv_option
Definition: srv_resolver.h:81
pj_status_t pj_dns_srv_cancel_query(pj_dns_srv_async_query *query, pj_bool_t notify)
pj_status_t pj_dns_srv_resolve(const pj_str_t *domain_name, const pj_str_t *res_name, unsigned def_port, pj_pool_t *pool, pj_dns_resolver *resolver, unsigned option, void *token, pj_dns_srv_resolver_cb *cb, pj_dns_srv_async_query **p_query)
@ PJ_DNS_SRV_FALLBACK_AAAA
Definition: srv_resolver.h:98
@ PJ_DNS_SRV_RESOLVE_AAAA
Definition: srv_resolver.h:106
@ PJ_DNS_SRV_RESOLVE_AAAA_ONLY
Definition: srv_resolver.h:113
@ PJ_DNS_SRV_FALLBACK_A
Definition: srv_resolver.h:89
Asynchronous DNS resolver.
Definition: resolver.h:233
Definition: srv_resolver.h:123
unsigned weight
Definition: srv_resolver.h:134
struct pj_dns_srv_record::@5 entry[PJ_DNS_SRV_MAX_ADDR]
unsigned count
Definition: srv_resolver.h:125
pj_uint16_t port
Definition: srv_resolver.h:137
pj_dns_addr_record server
Definition: srv_resolver.h:140
unsigned priority
Definition: srv_resolver.h:131