aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/channel.h
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-20 16:39:49 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-20 16:39:49 +0000
commitcba0f54bb79011a23846170f3d267238a929cae0 (patch)
tree94bf6bb53ac894977b4859aa575b76f087be0a18 /include/asterisk/channel.h
parent000130b1d3cd30b4e007969098fbda821d28d89f (diff)
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 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6178 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/channel.h')
-rwxr-xr-xinclude/asterisk/channel.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 9dd312466..67b0a5401 100755
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -703,11 +703,17 @@ int ast_sendtext(struct ast_channel *chan, char *text);
* 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