[Asterisk-cvs] asterisk/include/asterisk channel.h,1.46,1.47

markster at lists.digium.com markster at lists.digium.com
Thu May 20 12:17:25 CDT 2004


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv6480/include/asterisk

Modified Files:
	channel.h 
Log Message:
Make ast_channel_walk become ast_channel_walk_locked


Index: channel.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/channel.h,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- channel.h	20 May 2004 00:29:09 -0000	1.46
+++ channel.h	20 May 2004 16:30:10 -0000	1.47
@@ -624,8 +624,9 @@
  * \param prev where you want to start in the channel list
  * Browse the channels currently in use 
  * Returns the next channel in the list, NULL on end.
+ * If it returns a channel, that channel *has been locked*!
  */
-struct ast_channel *ast_channel_walk(struct ast_channel *prev);
+struct ast_channel *ast_channel_walk_locked(struct ast_channel *prev);
 
 //! Waits for a digit
 /*! 




More information about the svn-commits mailing list