BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJNATH Reference

STUN config.

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)

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, and PJ_INLINE.

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(), and PJ_INLINE.

 


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