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: https://origsvn.digium.com/svn/asterisk/trunk@6178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2005-07-20 16:39:49 +00:00
parent 075a8ad21c
commit 5589a1e387
2 changed files with 12 additions and 6 deletions

View File

@@ -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_senddigit(struct ast_channel *chan, char digit);
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);
/*! Receives a text string from a channel */
/*!
* \param chan channel to act upon