[Asterisk-cvs] asterisk/include/asterisk channel.h,1.40,1.41

markster at lists.digium.com markster at lists.digium.com
Sat Mar 27 01:52:45 CST 2004


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

Modified Files:
	channel.h 
Log Message:
Make read/write mode have a lock parameter and use it properly.


Index: channel.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/channel.h,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- channel.h	4 Mar 2004 01:11:25 -0000	1.40
+++ channel.h	27 Mar 2004 06:50:12 -0000	1.41
@@ -572,7 +572,7 @@
  * Set read format for channel to whichever component of "format" is best. 
  * Returns 0 on success, -1 on failure
  */
-int ast_set_read_format(struct ast_channel *chan, int format);
+int ast_set_read_format(struct ast_channel *chan, int format, int needlock);
 
 //! Sets write format on channel chan
 /*! 
@@ -581,7 +581,7 @@
  * Set write format for channel to whichever compoent of "format" is best. 
  * Returns 0 on success, -1 on failure
  */
-int ast_set_write_format(struct ast_channel *chan, int format);
+int ast_set_write_format(struct ast_channel *chan, int format, int needlock);
 
 //! Sends text to a channel
 /*! 




More information about the svn-commits mailing list