add append and truncate to audio file api

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15503 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-11-17 21:40:09 +00:00
parent 5d55996fa0
commit 9cf0d7f846
13 changed files with 115 additions and 10 deletions
+2
View File
@@ -262,6 +262,8 @@ struct switch_file_interface {
switch_status_t (*file_open) (switch_file_handle_t *, const char *file_path);
/*! function to close the file */
switch_status_t (*file_close) (switch_file_handle_t *);
/*! function to close the file */
switch_status_t (*file_truncate) (switch_file_handle_t *, int64_t offset);
/*! function to read from the file */
switch_status_t (*file_read) (switch_file_handle_t *, void *data, switch_size_t *len);
/*! function to write from the file */