[Asterisk-cvs] asterisk channel.c,1.248,1.249

markster markster
Sun Oct 16 12:17:44 CDT 2005


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

Modified Files:
	channel.c 
Log Message:
Add walk by channel name prefixed


Index: channel.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channel.c,v
retrieving revision 1.248
retrieving revision 1.249
diff -u -d -r1.248 -r1.249
--- channel.c	14 Oct 2005 17:02:20 -0000	1.248
+++ channel.c	16 Oct 2005 16:11:52 -0000	1.249
@@ -789,6 +789,12 @@
 	return channel_find_locked(NULL, name, namelen, NULL, NULL);
 }
 
+/*--- ast_walk_channel_by_name_prefix_locked: Get next channel by name prefix and lock it */
+struct ast_channel *ast_walk_channel_by_name_prefix_locked(struct ast_channel *chan, const char *name, const int namelen)
+{
+	return channel_find_locked(chan, name, namelen, NULL, NULL);
+}
+
 /*--- ast_get_channel_by_exten_locked: Get channel by exten (and optionally context) and lock it */
 struct ast_channel *ast_get_channel_by_exten_locked(const char *exten, const char *context)
 {




More information about the svn-commits mailing list