Changeset 3999 for pjproject/trunk/pjmedia/include/pjmedia/endpoint.h
- Timestamp:
- Mar 30, 2012 7:10:13 AM (13 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk
-
pjproject/trunk/pjmedia/include/pjmedia/endpoint.h
r3664 r3999 59 59 60 60 } pjmedia_endpt_flag; 61 62 63 /** 64 * Type of callback to register to pjmedia_endpt_atexit(). 65 */ 66 typedef void (*pjmedia_endpt_exit_callback)(pjmedia_endpt *endpt); 61 67 62 68 … … 261 267 262 268 269 /** 270 * Register cleanup function to be called by media endpoint when 271 * #pjmedia_endpt_destroy() is called. Note that application should not 272 * use or access any endpoint resource (such as pool, ioqueue) from within 273 * the callback as such resource may have been released when the callback 274 * function is invoked. 275 * 276 * @param endpt The media endpoint. 277 * @param func The function to be registered. 278 * 279 * @return PJ_SUCCESS on success. 280 */ 281 PJ_DECL(pj_status_t) pjmedia_endpt_atexit(pjmedia_endpt *endpt, 282 pjmedia_endpt_exit_callback func); 283 284 285 263 286 PJ_END_DECL 264 287
Note: See TracChangeset
for help on using the changeset viewer.