Changeset 1080 for pjproject/trunk/pjnath/src/pjnath/stun_endpoint.c
- Timestamp:
- Mar 18, 2007 5:39:27 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/stun_endpoint.c
r1062 r1080 17 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 18 */ 19 #include <pj lib-util/stun_endpoint.h>20 #include <pj lib-util/errno.h>19 #include <pjnath/stun_endpoint.h> 20 #include <pjnath/errno.h> 21 21 #include <pj/assert.h> 22 22 #include <pj/pool.h> … … 26 26 * Create a STUN endpoint instance. 27 27 */ 28 PJ_DEF(pj_status_t) pj_stun_ endpoint_create( pj_pool_factory *factory,29 30 31 32 pj_stun_endpoint**p_endpt)28 PJ_DEF(pj_status_t) pj_stun_config_create( pj_pool_factory *factory, 29 unsigned options, 30 pj_ioqueue_t *ioqueue, 31 pj_timer_heap_t *timer_heap, 32 pj_stun_config **p_endpt) 33 33 { 34 34 pj_pool_t *pool; 35 pj_stun_ endpoint*endpt;35 pj_stun_config *endpt; 36 36 37 37 PJ_ASSERT_RETURN(factory && p_endpt, PJ_EINVAL); … … 41 41 return PJ_ENOMEM; 42 42 43 endpt = PJ_POOL_ZALLOC_T(pool, pj_stun_ endpoint);43 endpt = PJ_POOL_ZALLOC_T(pool, pj_stun_config); 44 44 endpt->pool = pool; 45 45 endpt->pf = factory; … … 59 59 * Destroy STUN endpoint instance. 60 60 */ 61 PJ_DEF(pj_status_t) pj_stun_ endpoint_destroy(pj_stun_endpoint*endpt)61 PJ_DEF(pj_status_t) pj_stun_config_destroy(pj_stun_config *endpt) 62 62 { 63 63 PJ_ASSERT_RETURN(endpt, PJ_EINVAL);
Note: See TracChangeset
for help on using the changeset viewer.