aboutsummaryrefslogtreecommitdiffstats
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 1d00f4504..b1585b60f 100644
--- a/include/asterisk/module.h
+++ b/include/asterisk/module.h
@@ -134,6 +134,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