add api-expansion to switch.conf.xml and fsctl api_expansion command to control allowing apis to be expanded via variable expansion

This commit is contained in:
Anthony Minessale
2012-07-27 18:53:04 -05:00
parent cfb2335406
commit 293429f78d
6 changed files with 50 additions and 9 deletions
+3
View File
@@ -323,6 +323,9 @@ SWITCH_DECLARE(switch_status_t) switch_core_port_allocator_free_port(_In_ switch
SWITCH_DECLARE(void) switch_core_port_allocator_destroy(_Inout_ switch_core_port_allocator_t **alloc);
///\}
SWITCH_DECLARE(int) switch_core_test_flag(int flag);
///\defgroup ss Startup/Shutdown
///\ingroup core1
///\{
+3 -1
View File
@@ -322,7 +322,8 @@ typedef enum {
SCF_THREADED_SYSTEM_EXEC = (1 << 18),
SCF_SYNC_CLOCK_REQUESTED = (1 << 19),
SCF_CORE_ODBC_REQ = (1 << 20),
SCF_DEBUG_SQL = (1 << 21)
SCF_DEBUG_SQL = (1 << 21),
SCF_API_EXPANSION = (1 << 22)
} switch_core_flag_enum_t;
typedef uint32_t switch_core_flag_t;
@@ -1776,6 +1777,7 @@ typedef enum {
SCSC_SYNC_CLOCK_WHEN_IDLE,
SCSC_DEBUG_SQL,
SCSC_SQL,
SCSC_API_EXPANSION
} switch_session_ctl_t;
typedef enum {