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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/res/stasis/control.h b/res/stasis/control.h
index 042fc67bb..6b602e770 100644
--- a/res/stasis/control.h
+++ b/res/stasis/control.h
@@ -33,10 +33,12 @@
* \brief Create a control object.
*
* \param channel Channel to control.
+ * \param app stasis_app for which this control is being created.
+ *
* \return New control object.
* \return \c NULL on error.
*/
-struct stasis_app_control *control_create(struct ast_channel *channel);
+struct stasis_app_control *control_create(struct ast_channel *channel, struct stasis_app *app);
/*!
* \brief Dispatch all commands enqueued to this control.