summaryrefslogtreecommitdiff
path: root/res/stasis/control.h
diff options
context:
space:
mode:
Diffstat (limited to 'res/stasis/control.h')
-rw-r--r--res/stasis/control.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/res/stasis/control.h b/res/stasis/control.h
index d053a35f7..1d37a494a 100644
--- a/res/stasis/control.h
+++ b/res/stasis/control.h
@@ -41,6 +41,16 @@
struct stasis_app_control *control_create(struct ast_channel *channel, struct stasis_app *app);
/*!
+ * \brief Flush the control command queue.
+ * \since 13.9.0
+ *
+ * \param control Control object to flush command queue.
+ *
+ * \return Nothing
+ */
+void control_flush_queue(struct stasis_app_control *control);
+
+/*!
* \brief Dispatch all commands enqueued to this control.
*
* \param control Control object to dispatch.