summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/module.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asterisk/module.h b/include/asterisk/module.h
index 075d6a376..73bea557e 100644
--- a/include/asterisk/module.h
+++ b/include/asterisk/module.h
@@ -141,6 +141,13 @@ int ast_loader_register(int (*updater)(void));
*/
int ast_loader_unregister(int (*updater)(void));
+/*!
+ * \brief Run the unload() callback for all loaded modules
+ *
+ * This function should be called when Asterisk is shutting down gracefully.
+ */
+void ast_module_shutdown(void);
+
/*!
* \brief Match modules names for the Asterisk cli.
* \param line Unused by this function, but this should be the line we are