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/presence.h

    r212 r283  
    127127                                            pjsip_rx_data *rdata, 
    128128                                            pjsip_evsub **p_evsub ); 
     129 
     130 
     131/** 
     132 * Forcefully destroy the presence subscription. This function should only 
     133 * be called on special condition, such as when the subscription  
     134 * initialization has failed. For other conditions, application MUST terminate 
     135 * the subscription by sending the appropriate un(SUBSCRIBE) or NOTIFY. 
     136 * 
     137 * @param sub           The presence subscription. 
     138 * @param notify        Specify whether the state notification callback 
     139 *                      should be called. 
     140 * 
     141 * @return              PJ_SUCCESS if subscription session has been destroyed. 
     142 */ 
     143PJ_DECL(pj_status_t) pjsip_pres_terminate( pjsip_evsub *sub, 
     144                                           pj_bool_t notify ); 
     145 
    129146 
    130147 
Note: See TracChangeset for help on using the changeset viewer.