BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJLIB-UTIL Reference

srv_resolver.h File Reference

DNS SRV resolver. More...

Go to the source code of this file.

Data Structures

struct  pj_dns_srv_record
 

Typedefs

typedef struct pj_dns_srv_async_query pj_dns_srv_async_query
 
typedef void pj_dns_srv_resolver_cb(void *user_data, pj_status_t status, const pj_dns_srv_record *rec)
 

Enumerations

enum  pj_dns_srv_option { PJ_DNS_SRV_FALLBACK_A = 1 , PJ_DNS_SRV_FALLBACK_AAAA = 2 , PJ_DNS_SRV_RESOLVE_AAAA = 4 , PJ_DNS_SRV_RESOLVE_AAAA_ONLY = 8 }
 

Functions

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_status_t pj_dns_srv_cancel_query (pj_dns_srv_async_query *query, pj_bool_t notify)
 

Detailed Description

DNS SRV resolver.

 


PJLIB-UTIL Open Source, small footprint, and portable asynchronous/caching DNS resolver, text scanner, STUN client, and XML library
Copyright (C) 2006-2009 Teluu Inc.