summaryrefslogtreecommitdiff
path: root/include/asterisk/file.h
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-12-24 01:40:07 +0000
committerMark Spencer <markster@digium.com>2004-12-24 01:40:07 +0000
commit713a2eb0721a06f10fe0b13d3123446675927f05 (patch)
tree5b80a7b0d9f29485a99055442adc6b277aa4357f /include/asterisk/file.h
parentf72f506f340b469ecfc9cf72a6890ec4d62f3d88 (diff)
Merge anthm's native MOH patch (bug #2639) he promises me he'll rid it of ast_flag_moh...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/file.h')
-rwxr-xr-xinclude/asterisk/file.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asterisk/file.h b/include/asterisk/file.h
index 2f67fc23f..1686914df 100755
--- a/include/asterisk/file.h
+++ b/include/asterisk/file.h
@@ -203,6 +203,15 @@ struct ast_filestream *ast_openstream(struct ast_channel *chan, const char *file
* \param chan channel to work with
* \param filename to use
* \param preflang prefered language to use
+ * \param asis if set, don't clear generators
+ * Returns a ast_filestream pointer if it opens the file, NULL on error
+ */
+struct ast_filestream *ast_openstream_full(struct ast_channel *chan, const char *filename, const char *preflang, int asis);
+//! Opens stream for use in seeking, playing
+/*!
+ * \param chan channel to work with
+ * \param filename to use
+ * \param preflang prefered language to use
* Returns a ast_filestream pointer if it opens the file, NULL on error
*/
struct ast_filestream *ast_openvstream(struct ast_channel *chan, const char *filename, const char *preflang);