add fsctl shutdown [elegant|restart] <- one or both keywords

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9788 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-10-02 16:46:20 +00:00
parent 3c2699ec2a
commit f23c88d9fa
4 changed files with 54 additions and 8 deletions
+4 -2
View File
@@ -210,7 +210,8 @@ typedef enum {
SCF_NO_NEW_SESSIONS = (1 << 1),
SCF_SHUTTING_DOWN = (1 << 2),
SCF_CRASH_PROT = (1 << 3),
SCF_VG = (1 << 4)
SCF_VG = (1 << 4),
SCF_RESTART = (1 << 5)
} switch_core_flag_enum_t;
typedef uint32_t switch_core_flag_t;
@@ -1213,7 +1214,8 @@ typedef enum {
SCSC_MAX_SESSIONS,
SCSC_SYNC_CLOCK,
SCSC_MAX_DTMF_DURATION,
SCSC_DEFAULT_DTMF_DURATION
SCSC_DEFAULT_DTMF_DURATION,
SCSC_SHUTDOWN_ELEGANT
} switch_session_ctl_t;
typedef struct apr_pool_t switch_memory_pool_t;