- Timestamp:
- Dec 28, 2016 3:40:07 AM (8 years ago)
- Location:
- pjproject/branches/projects/uwp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/uwp
- Property svn:mergeinfo changed
/pjproject/trunk (added) merged: 5209,5212-5234,5237-5253,5255,5257-5292,5294-5297,5299-5332,5334-5394,5396-5438,5440-5469,5471-5496,5498-5510
- Property svn:mergeinfo changed
-
pjproject/branches/projects/uwp/pjsip/include/pjsip-ua/sip_inv.h
r5109 r5513 384 384 * that the flip-flop pool's lifetimes are synchronized to the 385 385 * SDP offer-answer negotiation. 386 * 387 * The lifetime of this session is controlled by the reference counter in this 388 * structure, which is manipulated by calling #pjsip_inv_add_ref and 389 * #pjsip_inv_dec_ref. When the reference counter has reached zero, then 390 * this session will be destroyed. 386 391 */ 387 392 struct pjsip_inv_session … … 413 418 pj_bool_t following_fork; /**< Internal, following 414 419 forked media? */ 420 pj_atomic_t *ref_cnt; /**< Reference counter. */ 415 421 }; 416 422 … … 629 635 unsigned options, 630 636 pjsip_inv_session **p_inv); 637 638 639 /** 640 * Add reference counter to the INVITE session. The reference counter controls 641 * the life time of the session, ie. when the counter reaches zero, then it 642 * will be destroyed. 643 * 644 * @param inv The INVITE session. 645 * @return PJ_SUCCESS if the INVITE session reference counter 646 * was increased. 647 */ 648 PJ_DECL(pj_status_t) pjsip_inv_add_ref( pjsip_inv_session *inv ); 649 650 /** 651 * Decrement reference counter of the INVITE session. 652 * When the session is no longer used, it will be destroyed and 653 * caller is informed with PJ_EGONE return status. 654 * 655 * @param inv The INVITE session. 656 * @return PJ_SUCCESS if the INVITE session reference counter 657 * was decreased. A status PJ_EGONE will be returned to 658 * inform that session is destroyed. 659 */ 660 PJ_DECL(pj_status_t) pjsip_inv_dec_ref( pjsip_inv_session *inv ); 631 661 632 662
Note: See TracChangeset
for help on using the changeset viewer.