summaryrefslogtreecommitdiff
path: root/include/asterisk/file.h
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-10-16 16:12:51 +0000
committerMark Spencer <markster@digium.com>2005-10-16 16:12:51 +0000
commitd499a85f05d404a99a221ad8dede4906f2ff4e8d (patch)
tree9833feece35fa9711477b198d46dab2c6d58e60d /include/asterisk/file.h
parentd2025ad2a1b5c23e70c7b02f5936220e722d6444 (diff)
Use FILE * instead of fd for files to support buffering
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/file.h')
-rwxr-xr-xinclude/asterisk/file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/file.h b/include/asterisk/file.h
index faf614b33..7dc2f9ec5 100755
--- a/include/asterisk/file.h
+++ b/include/asterisk/file.h
@@ -49,8 +49,8 @@ struct ast_filestream;
* returns 0 on success, -1 on failure
*/
int ast_format_register(const char *name, const char *exts, int format,
- struct ast_filestream * (*open)(int fd),
- struct ast_filestream * (*rewrite)(int fd, const char *comment),
+ struct ast_filestream * (*open)(FILE *f),
+ struct ast_filestream * (*rewrite)(FILE *f, const char *comment),
int (*write)(struct ast_filestream *, struct ast_frame *),
int (*seek)(struct ast_filestream *, long offset, int whence),
int (*trunc)(struct ast_filestream *),