mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
FSCORE-357
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13176 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -579,6 +579,7 @@ SWITCH_DECLARE(void) switch_core_session_perform_destroy(_Inout_ switch_core_ses
|
||||
#define switch_core_session_destroy(session) switch_core_session_perform_destroy(session, __FILE__, __SWITCH_FUNC__, __LINE__)
|
||||
|
||||
SWITCH_DECLARE(void) switch_core_session_destroy_state(switch_core_session_t *session);
|
||||
SWITCH_DECLARE(void) switch_core_session_reporting_state(switch_core_session_t *session);
|
||||
|
||||
/*!
|
||||
\brief Provide the total number of sessions
|
||||
@@ -652,6 +653,13 @@ SWITCH_DECLARE(switch_core_session_t *) switch_core_session_perform_locate(const
|
||||
SWITCH_DECLARE(switch_core_session_t *) switch_core_session_locate(_In_z_ const char *uuid_str);
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef SWITCH_DEBUG_RWLOCKS
|
||||
#define switch_core_session_locate(uuid_str) switch_core_session_perform_force_locate(uuid_str, __FILE__, __SWITCH_FUNC__, __LINE__)
|
||||
#else
|
||||
SWITCH_DECLARE(switch_core_session_t *) switch_core_session_force_locate(_In_z_ const char *uuid_str);
|
||||
#endif
|
||||
|
||||
/*!
|
||||
\brief Retrieve a global variable from the core
|
||||
\param varname the name of the variable
|
||||
|
||||
@@ -884,6 +884,7 @@ typedef enum {
|
||||
CF_DIVERT_EVENTS,
|
||||
CF_BLOCK_STATE,
|
||||
CF_FS_RTP,
|
||||
CF_REPORTING,
|
||||
/* WARNING: DO NOT ADD ANY FLAGS BELOW THIS LINE */
|
||||
CF_FLAG_MAX
|
||||
} switch_channel_flag_t;
|
||||
|
||||
Reference in New Issue
Block a user