提交 bc241ba4 authored 作者: Anthony Minessale's avatar Anthony Minessale

add headers for module funcs to avoid warnings

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@610 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 d1f82147
......@@ -188,6 +188,27 @@ SWITCH_DECLARE(int) switch_loadable_module_get_codecs_sorted(switch_memory_pool
\return the status returned by the API call
*/
SWITCH_DECLARE(switch_status) switch_api_execute(char *cmd, char *arg, char *retbuf, size_t len);
/* Prototypes of module interface functions */
/*!
\brief Load a module
\param interface a pointer to a pointer to aim at your module's local interface
\param filename the path to the module's dll or so file
\return SWITCH_STATUS_SUCCESS on a successful load
*/
switch_status switch_module_load(const switch_loadable_module_interface **interface, char *filename);
switch_status switch_module_reload(void);
switch_status switch_module_pause(void);
switch_status switch_module_resume(void);
switch_status switch_module_status(void);
switch_status switch_module_runtime(void);
/*!
\brief Shutdown a module
\return SWITCH_STATUS_SUCCESS on a successful shutdown
*/
switch_status switch_module_shutdown(void);
///\}
#ifdef __cplusplus
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论