mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 06:34:19 +00:00
add new func to the core
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9208 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
8c99670d54
commit
b734a677d4
2 files changed
+9
-1
No files matched your search
@@ -968,6 +968,14 @@ SWITCH_DECLARE(uint8_t) switch_core_session_compare(switch_core_session_t *a, sw
|
||||
return (uint8_t) (a->endpoint_interface == b->endpoint_interface);
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(uint8_t) switch_core_session_check_interface(switch_core_session_t *session, const switch_endpoint_interface_t *endpoint_interface)
|
||||
{
|
||||
switch_assert(session != NULL);
|
||||
switch_assert(endpoint_interface != NULL);
|
||||
|
||||
return (uint8_t) (session->endpoint_interface == endpoint_interface);
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(char *) switch_core_session_get_uuid(switch_core_session_t *session)
|
||||
{
|
||||
return session->uuid_str;
|
||||
|
||||
Reference in new issue
Block a user