summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-05-20 16:30:10 +0000
committerMark Spencer <markster@digium.com>2004-05-20 16:30:10 +0000
commit6195dd35e007e5c259bc7235f923737cda4b4ab1 (patch)
treeefbb775d4f7e80cb61b314075217774d082e881a /include
parente1b72cf020a327a560da4da52aa56e2b5fe1cd87 (diff)
Make ast_channel_walk become ast_channel_walk_locked
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3029 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/channel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index e420a1982..baae96213 100755
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -624,8 +624,9 @@ int ast_recvchar(struct ast_channel *chan, int timeout);
* \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
/*!