[Asterisk-cvs] asterisk/include/asterisk channel.h,1.86,1.87

kpfleming at lists.digium.com kpfleming at lists.digium.com
Sun Jun 5 22:26:47 CDT 2005


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

Modified Files:
	channel.h 
Log Message:
more efficient (and understandable) ast_channel_walk_locked, and vastly more efficient ast_channel_by_name_locked (bug #4265)


Index: channel.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/channel.h,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- channel.h	5 Jun 2005 15:04:43 -0000	1.86
+++ channel.h	6 Jun 2005 02:29:18 -0000	1.87
@@ -744,10 +744,10 @@
  * 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_locked(struct ast_channel *prev);
+struct ast_channel *ast_channel_walk_locked(const struct ast_channel *prev);
 
 /*! Get channel by name (locks channel) */
-struct ast_channel *ast_get_channel_by_name_locked(char *channame);
+struct ast_channel *ast_get_channel_by_name_locked(const char *chan);
 
 /*! Waits for a digit */
 /*! 




More information about the svn-commits mailing list