BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

sip_uri.h File Reference

SIP URL Structures and Manipulations. More...

#include <pjsip/sip_types.h>
#include <pjsip/sip_config.h>
#include <pj/assert.h>
#include <pj/list.h>
#include <pjlib-util/scanner.h>

Data Structures

struct  pjsip_param
 
struct  pjsip_uri_vptr
 
struct  pjsip_uri
 
struct  pjsip_sip_uri
 
struct  pjsip_name_addr
 
struct  pjsip_other_uri
 

Macros

#define PJSIP_URI_SCHEME_IS_SIP(url)    (pj_stricmp2(pjsip_uri_get_scheme(url), "sip")==0)
 
#define PJSIP_URI_SCHEME_IS_SIPS(url)    (pj_stricmp2(pjsip_uri_get_scheme(url), "sips")==0)
 
#define PJSIP_URI_SCHEME_IS_TEL(url)    (pj_stricmp2(pjsip_uri_get_scheme(url), "tel")==0)
 

Enumerations

enum  pjsip_uri_context_e {
  PJSIP_URI_IN_REQ_URI , PJSIP_URI_IN_FROMTO_HDR , PJSIP_URI_IN_CONTACT_HDR , PJSIP_URI_IN_ROUTING_HDR ,
  PJSIP_URI_IN_OTHER
}
 

Functions

pjsip_parampjsip_param_find (const pjsip_param *param_list, const pj_str_t *name)
 
pjsip_parampjsip_param_cfind (const pjsip_param *param_list, const pj_str_t *name)
 
int pjsip_param_cmp (const pjsip_param *param_list1, const pjsip_param *param_list2, pj_bool_t ig_nf)
 
void pjsip_param_clone (pj_pool_t *pool, pjsip_param *dst_list, const pjsip_param *src_list)
 
void pjsip_param_shallow_clone (pj_pool_t *pool, pjsip_param *dst_list, const pjsip_param *src_list)
 
pj_ssize_t pjsip_param_print_on (const pjsip_param *param_list, char *buf, pj_size_t size, const pj_cis_t *pname_unres, const pj_cis_t *pvalue_unres, int sep)
 
const pj_str_tpjsip_uri_get_scheme (const void *uri)
 
void * pjsip_uri_get_uri (const void *uri)
 
pj_status_t pjsip_uri_cmp (pjsip_uri_context_e context, const void *uri1, const void *uri2)
 
int pjsip_uri_print (pjsip_uri_context_e context, const void *uri, char *buf, pj_size_t size)
 
void * pjsip_uri_clone (pj_pool_t *pool, const void *uri)
 
pjsip_sip_uripjsip_sip_uri_create (pj_pool_t *pool, pj_bool_t secure)
 
void pjsip_sip_uri_set_secure (pjsip_sip_uri *uri, pj_bool_t secure)
 
void pjsip_sip_uri_init (pjsip_sip_uri *url, pj_bool_t secure)
 
void pjsip_sip_uri_assign (pj_pool_t *pool, pjsip_sip_uri *url, const pjsip_sip_uri *rhs)
 
pjsip_name_addrpjsip_name_addr_create (pj_pool_t *pool)
 
void pjsip_name_addr_init (pjsip_name_addr *name_addr)
 
void pjsip_name_addr_assign (pj_pool_t *pool, pjsip_name_addr *addr, const pjsip_name_addr *rhs)
 
pjsip_other_uripjsip_other_uri_create (pj_pool_t *pool)
 

 


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