Ignore:
Timestamp:
Mar 5, 2006 11:53:36 AM (18 years ago)
Author:
bennylp
Message:

Added API to terminate dialog prematurely. Affect: dialog, invite sessions, evsub, and presence

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip-simple/evsub.h

    r228 r283  
    288288                                             pjsip_evsub **p_evsub); 
    289289 
     290/** 
     291 * Forcefully destroy the subscription session. This function should only 
     292 * be called on special condition, such as when the subscription  
     293 * initialization has failed. For other conditions, application MUST terminate 
     294 * the subscription by sending the appropriate un(SUBSCRIBE) or NOTIFY. 
     295 * 
     296 * @param sub           The event subscription. 
     297 * @param notify        Specify whether the state notification callback 
     298 *                      should be called. 
     299 * 
     300 * @return              PJ_SUCCESS if subscription session has been destroyed. 
     301 */ 
     302PJ_DECL(pj_status_t) pjsip_evsub_terminate( pjsip_evsub *sub, 
     303                                            pj_bool_t notify ); 
     304 
    290305 
    291306/** 
Note: See TracChangeset for help on using the changeset viewer.