Changeset 6142 for pjproject/trunk/pjsip/include/pjsip-ua/sip_regc.h
- Timestamp:
- Jan 29, 2020 4:05:51 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip-ua/sip_regc.h
r6035 r6142 210 210 pj_uint32_t expires); 211 211 212 213 /** 214 * Increment busy counter temporarily, to prevent client registration 215 * structure from being destroyed. 216 * 217 * @param regc The client registration structure. 218 */ 219 PJ_DECL(void) pjsip_regc_add_ref( pjsip_regc *regc ); 220 221 222 /** 223 * Decrement temporary busy counter. After this function 224 * is called, client registration structure may have been destroyed 225 * if there's a pending destroy. 226 * 227 * @param regc The client registration structure. 228 * 229 * @return PJ_SUCCESS on success. PJ_EGONE if the registration 230 * structure has been destroyed inside the function. 231 */ 232 PJ_DECL(pj_status_t) pjsip_regc_dec_ref( pjsip_regc *regc ); 233 234 212 235 /** 213 236 * Set callback to be called when the registration received a final response.
Note: See TracChangeset
for help on using the changeset viewer.