mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-18 01:04:13 +00:00
add switch_core_session_get_id function
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9899 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
f04b1ade4a
commit
584669c25e
3 files changed
+10
-2
No files matched your search
@@ -964,6 +964,11 @@ SWITCH_DECLARE(uint32_t) switch_core_session_count(void)
|
||||
return session_manager.session_count;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(uint32_t) switch_core_session_get_id(switch_core_session_t *session)
|
||||
{
|
||||
return session->id;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(switch_size_t) switch_core_session_id(void)
|
||||
{
|
||||
return session_manager.session_id;
|
||||
|
||||
Reference in new issue
Block a user