mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
more simplification, and correct a bug i introduced in the last commit
fix prototype for a channel walking function to use a const input pointer use existing channel walk by name prefix instead of reproducing that code in this app git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -874,7 +874,7 @@ struct ast_channel *ast_get_channel_by_name_locked(const char *chan);
|
||||
struct ast_channel *ast_get_channel_by_name_prefix_locked(const char *name, const int namelen);
|
||||
|
||||
/*! \brief Get channel by name prefix (locks channel) */
|
||||
struct ast_channel *ast_walk_channel_by_name_prefix_locked(struct ast_channel *chan, const char *name, const int namelen);
|
||||
struct ast_channel *ast_walk_channel_by_name_prefix_locked(const struct ast_channel *chan, const char *name, const int namelen);
|
||||
|
||||
/*! \brief 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);
|
||||
|
Reference in New Issue
Block a user