summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2013-06-08 06:31:50 +0000
committerRichard Mudgett <rmudgett@digium.com>2013-06-08 06:31:50 +0000
commit2fe6b6a5331e41b351774da0b66de40aa2f77ae7 (patch)
tree0ccf9b1a922c564d3e4f9a6c563c560ad31cf135 /include/asterisk
parentc88b7945f64ef713da3791e2518608c1e65e90de (diff)
Add more support for native bridging.
* Added a start technology callback that technologies can use to start bridging operations. It is expected that native bridges will find this useful. * Factored out bridge_channel_complete_join(). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/bridging_technology.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asterisk/bridging_technology.h b/include/asterisk/bridging_technology.h
index 6405545dd..3c808b159 100644
--- a/include/asterisk/bridging_technology.h
+++ b/include/asterisk/bridging_technology.h
@@ -63,6 +63,16 @@ struct ast_bridge_technology {
*/
int (*create)(struct ast_bridge *bridge);
/*!
+ * \brief Request a bridge technology instance start operations.
+ *
+ * \retval 0 on success
+ * \retval -1 on failure
+ *
+ * \note On entry, bridge may or may not already be locked.
+ * However, it can be accessed as if it were locked.
+ */
+ int (*start)(struct ast_bridge *bridge);
+ /*!
* \brief Request a bridge technology instance stop in preparation for being destroyed.
*
* \note On entry, bridge is already locked.
@@ -106,6 +116,9 @@ struct ast_bridge_technology {
*
* \retval 0 if not compatible
* \retval non-zero if compatible
+ *
+ * \note On entry, bridge may or may not already be locked.
+ * However, it can be accessed as if it were locked.
*/
int (*compatible)(struct ast_bridge *bridge);
/*!