[asterisk-commits] russell: branch russell/ast_channel_refcount r82260 - /team/russell/ast_chann...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 11 15:11:51 CDT 2007


Author: russell
Date: Tue Sep 11 15:11:51 2007
New Revision: 82260

URL: http://svn.digium.com/view/asterisk?view=rev&rev=82260
Log:
document which operations must be implemented to replace all of the functions
that use channel_find_locked() internally

Modified:
    team/russell/ast_channel_refcount/main/channel.c

Modified: team/russell/ast_channel_refcount/main/channel.c
URL: http://svn.digium.com/view/asterisk/team/russell/ast_channel_refcount/main/channel.c?view=diff&rev=82260&r1=82259&r2=82260
==============================================================================
--- team/russell/ast_channel_refcount/main/channel.c (original)
+++ team/russell/ast_channel_refcount/main/channel.c Tue Sep 11 15:11:51 2007
@@ -1142,6 +1142,20 @@
 {
 	return channel_find_locked(chan, NULL, 0, context, exten);
 }
+
+/*
+ * These operations must be implemented ...
+ *
+ * Get a channel by:
+ *  - name
+ *  - name prefix
+ *  - exten (and optional context)
+ *
+ * Walk channels that match:
+ *  - all channels
+ *  - name prefix
+ *  - exten (and optional context)
+ */
 
 /*! \brief Wait, look for hangups and condition arg */
 int ast_safe_sleep_conditional(struct ast_channel *chan, int ms, int (*cond)(void*), void *data)




More information about the asterisk-commits mailing list