Changeset 1594 for pjproject/trunk/pjsip/src/pjsip/sip_ua_layer.c
- Timestamp:
- Nov 23, 2007 3:47:50 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_ua_layer.c
r1417 r1594 413 413 414 414 415 /* 416 * Retrieve the current number of dialog-set currently registered 417 * in the hash table. 418 */ 419 PJ_DEF(unsigned) pjsip_ua_get_dlg_set_count(void) 420 { 421 unsigned count; 422 423 PJ_ASSERT_RETURN(mod_ua.endpt, 0); 424 425 pj_mutex_lock(mod_ua.mutex); 426 count = pj_hash_count(mod_ua.dlg_table); 427 pj_mutex_unlock(mod_ua.mutex); 428 429 return count; 430 } 431 432 415 433 /* 416 434 * Find a dialog.
Note: See TracChangeset
for help on using the changeset viewer.