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:
parent
d1f821478b
commit
bc241ba425
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue