aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/file.h
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-06-29 03:24:39 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-06-29 03:24:39 +0000
commit6a9e0210bb8f5390e96e3c6746ff907e9858729f (patch)
tree4eff0e924a946900561c70a2d56554a97b06efb4 /include/asterisk/file.h
parent3a0233e8edb056a24609732411d306608ffccece (diff)
Add H.263 video support
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1131 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/file.h')
-rwxr-xr-xinclude/asterisk/file.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/asterisk/file.h b/include/asterisk/file.h
index 7ac0aa12b..418564249 100755
--- a/include/asterisk/file.h
+++ b/include/asterisk/file.h
@@ -171,7 +171,7 @@ int ast_writestream(struct ast_filestream *fs, struct ast_frame *f);
*/
int ast_closestream(struct ast_filestream *f);
-//! Opens stream for use in seeking, playing, and writing
+//! Opens stream for use in seeking, playing
/*!
* \param chan channel to work with
* \param filename to use
@@ -180,6 +180,15 @@ int ast_closestream(struct ast_filestream *f);
*/
struct ast_filestream *ast_openstream(struct ast_channel *chan, char *filename, char *preflang);
+//! 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, char *filename, char *preflang);
+
//! Applys a open stream to a channel.
/*!
* \param chan channel to work