aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asterisk.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asterisk.h b/include/asterisk.h
index a827a23f0..41e98f022 100644
--- a/include/asterisk.h
+++ b/include/asterisk.h
@@ -126,6 +126,18 @@ struct ast_module;
int ast_module_reload(const char *name);
/*!
+ * \brief Process reload requests received during startup.
+ *
+ * This function requests that the loader execute the pending reload requests
+ * that were queued during server startup.
+ *
+ * \note This function will do nothing if the server has not completely started
+ * up. Once called, the reload queue is emptied, and further invocations
+ * will have no affect.
+ */
+void ast_process_pending_reloads(void);
+
+/*!
* \brief Register a function to be executed before Asterisk exits.
* \param func The callback function to use.
*