Ignore:
Timestamp:
May 28, 2006 2:58:12 PM (18 years ago)
Author:
bennylp
Message:

More changes in pjsua API to make it more complete high level API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/main.c

    r476 r482  
    2828int main(int argc, char *argv[]) 
    2929{ 
    30  
    3130    pjsua_config cfg; 
    3231 
     
    5655     * messages. 
    5756     */ 
    58     pjsip_endpt_register_module(pjsua.endpt,  
     57    pjsip_endpt_register_module(pjsua_get_pjsip_endpt(), 
    5958                                &pjsua_console_app_msg_logger); 
    6059 
     
    6261    /* Start pjsua! */ 
    6362    if (pjsua_start() != PJ_SUCCESS) { 
    64  
    6563        pjsua_destroy(); 
    6664        return 1; 
     
    7977    pjsua_destroy(); 
    8078 
     79    /* This is for internal testing, to make sure that pjsua_destroy() 
     80     * can be called multiple times.  
     81     */ 
     82    pjsua_destroy(); 
     83 
    8184 
    8285    /* Close logging: */ 
Note: See TracChangeset for help on using the changeset viewer.