mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
FS-11310 #resolve add optional switch_core_file_pre_close() to stop writing to file and possible to get file size related params
This commit is contained in:
@@ -298,6 +298,8 @@ struct switch_file_interface {
|
||||
switch_status_t (*file_set_string) (switch_file_handle_t *fh, switch_audio_col_t col, const char *string);
|
||||
/*! function to get meta data */
|
||||
switch_status_t (*file_get_string) (switch_file_handle_t *fh, switch_audio_col_t col, const char **string);
|
||||
/*! function to pre close the file to read params */
|
||||
switch_status_t (*file_pre_close) (switch_file_handle_t *fh);
|
||||
/*! function to control the underlying tech of the file */
|
||||
switch_status_t (*file_command) (switch_file_handle_t *fh, switch_file_command_t command);
|
||||
/*! list of supported file extensions */
|
||||
|
||||
Reference in New Issue
Block a user