mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 21:22:09 +00:00
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:
@@ -420,6 +420,11 @@ SWITCH_DECLARE(switch_status_t) switch_file_close(switch_file_t *thefile)
|
||||
return apr_file_close(thefile);
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_file_trunc(switch_file_t *thefile, int64_t offset)
|
||||
{
|
||||
return apr_file_trunc(thefile, offset);
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_file_lock(switch_file_t *thefile, int type)
|
||||
{
|
||||
return apr_file_lock(thefile, type);
|
||||
|
||||
Reference in New Issue
Block a user