add switch_core_get_variables and allow execute_on funcs to see global vars too

This commit is contained in:
Anthony Minessale
2013-03-27 14:54:01 -05:00
parent eed868af6c
commit 861c3e3ccc
4 changed files with 19 additions and 6 deletions
+1
View File
@@ -811,6 +811,7 @@ SWITCH_DECLARE(const char *) switch_core_get_switchname(void);
\param value the value of the variable
*/
SWITCH_DECLARE(void) switch_core_set_variable(_In_z_ const char *varname, _In_opt_z_ const char *value);
SWITCH_DECLARE(switch_status_t) switch_core_get_variables(switch_event_t **event);
/*!
\brief Conditionally add a global variable to the core