BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

sip_resolve.h File Reference

This module contains the mechanism to resolve server address as specified by RFC 3263 - Locating SIP Servers. More...

#include <pjsip/sip_types.h>
#include <pjlib-util/resolver.h>
#include <pj/sock.h>

Data Structures

struct  pjsip_server_addresses
 
struct  pjsip_ext_resolver
 

Typedefs

typedef void pjsip_resolver_callback(pj_status_t status, void *token, const struct pjsip_server_addresses *addr)
 

Functions

pj_status_t pjsip_resolver_create (pj_pool_t *pool, pjsip_resolver_t **p_res)
 
pj_status_t pjsip_resolver_set_resolver (pjsip_resolver_t *res, pj_dns_resolver *dns_res)
 
pj_status_t pjsip_resolver_set_ext_resolver (pjsip_resolver_t *res, pjsip_ext_resolver *ext_res)
 
pj_dns_resolverpjsip_resolver_get_resolver (pjsip_resolver_t *res)
 
void pjsip_resolver_destroy (pjsip_resolver_t *resolver)
 
void pjsip_resolve (pjsip_resolver_t *resolver, pj_pool_t *pool, const pjsip_host_info *target, void *token, pjsip_resolver_callback *cb)
 

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.