[Asterisk-cvs] asterisk/include/asterisk channel.h,1.92,1.93

russell at lists.digium.com russell at lists.digium.com
Wed Jul 20 12:32:32 CDT 2005


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

Modified Files:
	channel.h 
Log Message:
put ast_recvchar under its desc, add desc for ast_senddigit, don't use a
length limited copy for a static copy into a buffer that we *know* is big
enough


Index: channel.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/channel.h,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -d -r1.92 -r1.93
--- channel.h	15 Jul 2005 23:24:51 -0000	1.92
+++ channel.h	20 Jul 2005 16:39:49 -0000	1.93
@@ -703,11 +703,17 @@
  * Read a char of text from a channel
  * Returns 0 on success, -1 on failure
  */
+int ast_recvchar(struct ast_channel *chan, int timeout);
 
+/*! Send a DTMF digit to a channel */
+/*! 
+ * \param chan channel to act upon
+ * \param digit the DTMF digit to send, encoded in ASCII
+ * Send a DTMF digit to a channel.
+ * Returns 0 on success, -1 on failure
+ */
 int ast_senddigit(struct ast_channel *chan, char digit);
 
-int ast_recvchar(struct ast_channel *chan, int timeout);
-
 /*! Receives a text string from a channel */
 /*! 
  * \param chan channel to act upon




More information about the svn-commits mailing list