[asterisk-commits] rmudgett: branch group/bridge_construction r384288 - /team/group/bridge_const...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Mar 28 13:17:40 CDT 2013


Author: rmudgett
Date: Thu Mar 28 13:17:36 2013
New Revision: 384288

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=384288
Log:
Update some technology doxygen comments.

Modified:
    team/group/bridge_construction/include/asterisk/bridging_technology.h

Modified: team/group/bridge_construction/include/asterisk/bridging_technology.h
URL: http://svnview.digium.com/svn/asterisk/team/group/bridge_construction/include/asterisk/bridging_technology.h?view=diff&rev=384288&r1=384287&r2=384288
==============================================================================
--- team/group/bridge_construction/include/asterisk/bridging_technology.h (original)
+++ team/group/bridge_construction/include/asterisk/bridging_technology.h Thu Mar 28 13:17:36 2013
@@ -54,22 +54,43 @@
 	 *
 	 * \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 (*create)(struct ast_bridge *bridge);
-	/*! Callback for when a bridge is being destroyed */
+	/*!
+	 * \brief Callback for when a bridge is being destroyed
+	 *
+	 * \note On entry, bridge must NOT be locked.
+	 */
 	void (*destroy)(struct ast_bridge *bridge);
 	/*!
 	 * \brief Callback for when a channel is being added to a bridge.
 	 *
 	 * \retval 0 on success
 	 * \retval -1 on failure
+	 *
+	 * \note On entry, bridge is already locked.
 	 */
 	int (*join)(struct ast_bridge *bridge, struct ast_bridge_channel *bridge_channel);
-	/*! Callback for when a channel is leaving a bridge */
+	/*!
+	 * \brief Callback for when a channel is leaving a bridge
+	 *
+	 * \note On entry, bridge is already locked.
+	 */
 	void (*leave)(struct ast_bridge *bridge, struct ast_bridge_channel *bridge_channel);
-	/*! Callback for when a channel is suspended from the bridge */
+	/*!
+	 * \brief Callback for when a channel is suspended from the bridge
+	 *
+	 * \note On entry, bridge is already locked.
+	 */
 	void (*suspend)(struct ast_bridge *bridge, struct ast_bridge_channel *bridge_channel);
-	/*! Callback for when a channel is unsuspended from the bridge */
+	/*!
+	 * \brief Callback for when a channel is unsuspended from the bridge
+	 *
+	 * \note On entry, bridge is already locked.
+	 */
 	void (*unsuspend)(struct ast_bridge *bridge, struct ast_bridge_channel *bridge_channel);
 	/*!
 	 * \brief Callback to see if the bridge is compatible with the bridging technology.




More information about the asterisk-commits mailing list