mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
add ldl_handle_running
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13085 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
32e2fddef3
commit
900f820810
@ -2331,6 +2331,11 @@ void ldl_handle_run(ldl_handle_t *handle)
|
||||
ldl_clear_flag_locked(handle, LDL_FLAG_RUNNING);
|
||||
}
|
||||
|
||||
int ldl_handle_running(ldl_handle_t *handle)
|
||||
{
|
||||
return ldl_test_flag(handle, LDL_FLAG_RUNNING) ? 1 : 0;
|
||||
}
|
||||
|
||||
void ldl_handle_stop(ldl_handle_t *handle)
|
||||
{
|
||||
ldl_clear_flag_locked(handle, LDL_FLAG_RUNNING);
|
||||
|
@ -590,6 +590,8 @@ void ldl_handle_run(ldl_handle_t *handle);
|
||||
*/
|
||||
void ldl_handle_stop(ldl_handle_t *handle);
|
||||
|
||||
int ldl_handle_running(ldl_handle_t *handle);
|
||||
|
||||
|
||||
/*!
|
||||
\brief Destroy a libDingaLing handle
|
||||
|
Loading…
x
Reference in New Issue
Block a user