aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/file.h')
-rwxr-xr-xinclude/asterisk/file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk/file.h b/include/asterisk/file.h
index 25e38e29f..5e424358b 100755
--- a/include/asterisk/file.h
+++ b/include/asterisk/file.h
@@ -50,6 +50,7 @@ int ast_streamfile(struct ast_channel *c, char *filename, char *preflang);
int ast_stopstream(struct ast_channel *c);
/* See if a given file exists in a given format. If fmt is NULL, any format is accepted.*/
+/* Returns -1 if file does not exist */
int ast_fileexists(char *filename, char *fmt, char *preflang);
/* Rename a given file in a given format, or if fmt is NULL, then do so for all */