]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add headers for module funcs to avoid warnings
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 14 Feb 2006 16:53:15 +0000 (16:53 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 14 Feb 2006 16:53:15 +0000 (16:53 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@610 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/include/switch_loadable_module.h

index 5f39f473e311854113051b0f0620118091802658..adc9572a9d8729d1bbca2deacaae6c32531abf9f 100644 (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