aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/file.h')
-rwxr-xr-xinclude/asterisk/file.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/file.h b/include/asterisk/file.h
index 79febcb48..e7f19825d 100755
--- a/include/asterisk/file.h
+++ b/include/asterisk/file.h
@@ -123,6 +123,10 @@ int ast_filecopy(char *oldname, char *newname, char *fmt);
*/
char ast_waitstream(struct ast_channel *c, char *breakon);
+/* Same as waitstream, but with audio output to fd and monitored fd checking. Returns
+ 1 if monfd is ready for reading */
+char ast_waitstream_full(struct ast_channel *c, char *breakon, int audiofd, int monfd);
+
//! Starts writing a file
/*!
* \param filename the name of the file to write to