aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/_private.h')
-rw-r--r--include/asterisk/_private.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asterisk/_private.h b/include/asterisk/_private.h
index 86db938c8..ee46e6ce0 100644
--- a/include/asterisk/_private.h
+++ b/include/asterisk/_private.h
@@ -56,4 +56,16 @@ int ast_timing_init(void); /*!< Provided by timing.c */
*/
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);
+
#endif /* _ASTERISK__PRIVATE_H */