mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
FS-4868 --resolve This patch also adds freeswitch.ready() which will return false once shutdown has started
This commit is contained in:
@@ -2042,6 +2042,8 @@ SWITCH_DECLARE(FILE *) switch_core_data_channel(switch_text_channel_t channel);
|
||||
*/
|
||||
SWITCH_DECLARE(switch_bool_t) switch_core_ready(void);
|
||||
|
||||
SWITCH_DECLARE(switch_bool_t) switch_core_running(void);
|
||||
|
||||
/*!
|
||||
\brief Determines if the core is ready to take inbound calls
|
||||
\return SWITCH_TRUE or SWITCH_FALSE
|
||||
|
@@ -71,6 +71,7 @@ SWITCH_DECLARE(char *) getGlobalVariable(char *var_name);
|
||||
|
||||
SWITCH_DECLARE(void) consoleLog(char *level_str, char *msg);
|
||||
SWITCH_DECLARE(void) consoleCleanLog(char *msg);
|
||||
SWITCH_DECLARE(bool) running(void);
|
||||
|
||||
SWITCH_DECLARE(bool) email(char *to, char *from, char *headers = NULL, char *body = NULL,
|
||||
char *file = NULL, char *convert_cmd = NULL, char *convert_ext = NULL);
|
||||
|
Reference in New Issue
Block a user