Home --> Documentations --> PJNATH Reference

STUN config. More...

Data Structures

struct  pj_stun_config
 

Functions

void pj_stun_config_init (pj_stun_config *cfg, pj_pool_factory *factory, unsigned options, pj_ioqueue_t *ioqueue, pj_timer_heap_t *timer_heap)
 
pj_status_t pj_stun_config_check_valid (const pj_stun_config *cfg)
 

Detailed Description

Function Documentation

pj_status_t pj_stun_config_check_valid ( const pj_stun_config cfg)

Check that STUN config is valid.

References PJ_ASSERT_RETURN, PJ_EINVAL, PJ_INLINE, and PJ_SUCCESS.

void pj_stun_config_init ( pj_stun_config cfg,
pj_pool_factory factory,
unsigned  options,
pj_ioqueue_t ioqueue,
pj_timer_heap_t timer_heap 
)

Initialize STUN config.

References pj_bzero(), PJ_INLINE, pj_str(), PJ_STUN_RES_CACHE_DURATION, and PJ_STUN_RTO_VALUE.

 


PJNATH - Open Source NAT traversal helper library supporting STUN, TURN, and ICE
Copyright (C) 2006-2009 Teluu Inc.