Changeset 1225 for pjproject/branches/symbian/pjsip/src/test-pjsip/test.c
- Timestamp:
- Apr 29, 2007 1:55:56 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/symbian/pjsip/src/test-pjsip/test.c
r127 r1225 19 19 20 20 21 #include "test.h"22 21 #include <pjlib.h> 23 22 #include <pjsip.h> 23 #include "test.h" 24 24 25 25 #define THIS_FILE "test.c" … … 45 45 PJ_CHECK_STACK(); 46 46 47 pj sip_strerror(rc, errbuf, sizeof(errbuf));47 pj_strerror(rc, errbuf, sizeof(errbuf)); 48 48 PJ_LOG(3,(THIS_FILE, "%s: [pj_status_t=%d] %s", msg, rc, errbuf)); 49 49 … … 96 96 pj_dump_config(); 97 97 98 pj_caching_pool_init( &caching_pool, &pj_pool_factory_default_policy, 0 );98 pj_caching_pool_init( &caching_pool, pj_pool_factory_get_default_policy(), 0 ); 99 99 100 100 rc = pjsip_endpt_create(&caching_pool.factory, "endpt", &endpt); … … 112 112 113 113 /* Start transaction layer module. */ 114 rc = pjsip_tsx_layer_init (endpt);114 rc = pjsip_tsx_layer_init_module(endpt); 115 115 if (rc != PJ_SUCCESS) { 116 116 app_perror(" Error initializing transaction module", rc); … … 127 127 128 128 //DO_TEST(uri_test()); 129 //DO_TEST(msg_test());129 DO_TEST(msg_test()); 130 130 //DO_TEST(txdata_test()); 131 131 //DO_TEST(transport_udp_test());
Note: See TracChangeset
for help on using the changeset viewer.