aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/file.h
diff options
context:
space:
mode:
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);