mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
Merge pull request #802 from signalwire/recording_follow_transfer
[Core] Fix hangup race in recording_follow_transfer.
This commit is contained in:
@@ -1975,6 +1975,16 @@ SWITCH_DECLARE(switch_status_t) switch_core_file_get_string(_In_ switch_file_han
|
||||
*/
|
||||
SWITCH_DECLARE(switch_status_t) switch_core_file_pre_close(_In_ switch_file_handle_t *fh);
|
||||
|
||||
/*!
|
||||
\brief Duplicates a file handle using another pool
|
||||
\param oldfh the file handle to duplicate
|
||||
\param newfh pointer to assign new file handle to
|
||||
\param pool the pool to use (NULL for new pool)
|
||||
\return SWITCH_STATUS_SUCCESS if the file handle was duplicated
|
||||
*/
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_core_file_handle_dup(switch_file_handle_t *oldfh, switch_file_handle_t **newfh, switch_memory_pool_t *pool);
|
||||
|
||||
/*!
|
||||
\brief Close an open file handle
|
||||
\param fh the file handle to close
|
||||
|
||||
Reference in New Issue
Block a user