提交 016474cf authored 作者: Mike Jerris's avatar Mike Jerris

Merge pull request #216 in FS/freeswitch from…

Merge pull request #216 in FS/freeswitch from ~MANAV/freeswitch:doc-switch_core_set_variable to master

* commit '830bc28c':
  FS-7352: Document how to use switch_core_set_variable to delete variables
...@@ -914,6 +914,7 @@ SWITCH_DECLARE(char *) switch_core_get_domain(switch_bool_t dup); ...@@ -914,6 +914,7 @@ SWITCH_DECLARE(char *) switch_core_get_domain(switch_bool_t dup);
\brief Add a global variable to the core \brief Add a global variable to the core
\param varname the name of the variable \param varname the name of the variable
\param value the value of the variable \param value the value of the variable
\ If \p value is NULL, then \p varname is deleted.
*/ */
SWITCH_DECLARE(void) switch_core_set_variable(_In_z_ const char *varname, _In_opt_z_ const char *value); 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); SWITCH_DECLARE(switch_status_t) switch_core_get_variables(switch_event_t **event);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论