[Asterisk-cvs] asterisk/include/asterisk channel.h,1.67,1.68
markster at lists.digium.com
markster at lists.digium.com
Sat Jan 8 11:19:01 CST 2005
Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv6862/include/asterisk
Modified Files:
channel.h
Log Message:
Make queue support channel variable inheritance (bug #3274)
Index: channel.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/channel.h,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- channel.h 5 Jan 2005 19:56:47 -0000 1.67
+++ channel.h 8 Jan 2005 17:23:29 -0000 1.68
@@ -782,6 +782,20 @@
/* Find bridged channel */
struct ast_channel *ast_bridged_channel(struct ast_channel *chan);
+/*!
+ \brief Inherits channel variable from parent to child channel
+ \param parent Parent channel
+ \param child Child channel
+
+ Scans all channel variables in the parent channel, looking for those
+ that should be copied into the child channel.
+ Variables whose names begin with a single '_' are copied into the
+ child channel with the prefix removed.
+ Variables whose names begin with '__' are copied into the child
+ channel with their names unchanged.
+*/
+void ast_channel_inherit_variables(const struct ast_channel *parent, struct ast_channel *child);
+
/* Misc. functions below */
/* Helper function for migrating select to poll */
More information about the svn-commits
mailing list