Ignore:
Timestamp:
Jun 21, 2016 8:56:42 AM (8 years ago)
Author:
nanang
Message:

Close #1934: Add reference counting APIs to event subscription.

File:
1 edited

Legend:

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

    r4704 r5351  
    491491 
    492492 
     493/** 
     494 * Increment the event subscription's group lock. 
     495 * 
     496 * @param sub           The server subscription instance. 
     497 * 
     498 * @return              PJ_SUCCESS on success. 
     499 */ 
     500PJ_DEF(pj_status_t) pjsip_evsub_add_ref(pjsip_evsub *sub); 
     501 
     502 
     503/** 
     504 * Decrement the event subscription's group lock. 
     505 * 
     506 * @param sub           The server subscription instance. 
     507 * 
     508 * @return              PJ_SUCCESS on success. 
     509 */ 
     510PJ_DEF(pj_status_t) pjsip_evsub_dec_ref(pjsip_evsub *sub); 
     511 
     512 
    493513 
    494514PJ_END_DECL 
Note: See TracChangeset for help on using the changeset viewer.