Changeset 3999 for pjproject/trunk/pjsip/include/pjsip/sip_endpoint.h
- Timestamp:
- Mar 30, 2012 7:10:13 AM (12 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk
-
pjproject/trunk/pjsip/include/pjsip/sip_endpoint.h
r3841 r3999 63 63 */ 64 64 65 66 /** 67 * Type of callback to register to pjsip_endpt_atexit(). 68 */ 69 typedef void (*pjsip_endpt_exit_callback)(pjsip_endpoint *endpt); 70 71 65 72 /** 66 73 * Create an instance of SIP endpoint from the specified pool factory. … … 512 519 513 520 521 /** 522 * Register cleanup function to be called by SIP endpoint when 523 * #pjsip_endpt_destroy() is called. Note that application should not 524 * use or access any endpoint resource (such as pool, ioqueue, timer heap) 525 * from within the callback as such resource may have been released when 526 * the callback function is invoked. 527 * 528 * @param endpt The SIP endpoint. 529 * @param func The function to be registered. 530 * 531 * @return PJ_SUCCESS on success. 532 */ 533 PJ_DECL(pj_status_t) pjsip_endpt_atexit(pjsip_endpoint *endpt, 534 pjsip_endpt_exit_callback func); 535 514 536 515 537 /**
Note: See TracChangeset
for help on using the changeset viewer.