add headers for module funcs to avoid warnings

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@610 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-02-14 16:53:15 +00:00
parent d1f821478b
commit bc241ba425
1 changed files with 21 additions and 0 deletions

View File

@ -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