Ignore:
Timestamp:
Oct 19, 2011 12:45:05 PM (13 years ago)
Author:
bennylp
Message:

Fixed #1216: New pjsua_destroy2() API to allow shutting down the library without sending any outgoing messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjsip/include/pjsua-lib/pjsua.h

    r3762 r3829  
    12951295 
    12961296/** 
     1297 * Flags to be given to pjsua_destroy2() 
     1298 */ 
     1299typedef enum pjsua_destroy_flag 
     1300{ 
     1301    /** 
     1302     * Do not invoke any networking functions. 
     1303     */ 
     1304    PJSUA_DESTROY_NO_NETWORK = 1 
     1305 
     1306} pjsua_destroy_flag; 
     1307 
     1308/** 
    12971309 * Use this function to initialize pjsua config. 
    12981310 * 
     
    14301442 * keep track of it's state. 
    14311443 * 
     1444 * @see pjsua_destroy2() 
     1445 * 
    14321446 * @return              PJ_SUCCESS on success, or the appropriate error code. 
    14331447 */ 
    14341448PJ_DECL(pj_status_t) pjsua_destroy(void); 
     1449 
     1450 
     1451/** 
     1452 * Variant of destroy with additional flags. 
     1453 * 
     1454 * @param flags         Combination of pjsua_destroy_flag enumeration. 
     1455 * 
     1456 * @return              PJ_SUCCESS on success, or the appropriate error code. 
     1457 */ 
     1458PJ_DECL(pj_status_t) pjsua_destroy2(unsigned flags); 
    14351459 
    14361460 
Note: See TracChangeset for help on using the changeset viewer.