mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 06:48:33 +00:00
create macro to define api command prototypes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5167 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
493fdf5ba8
commit
521eac756e
12 files changed
+132
-128
No files matched your search
@@ -151,7 +151,7 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_runtime(void)
|
||||
return RUNNING ? SWITCH_STATUS_SUCCESS : SWITCH_STATUS_TERM;
|
||||
}
|
||||
|
||||
static switch_status_t modcdr_reload(const char *dest=0, switch_core_session_t *isession=0, switch_stream_handle_t *stream=0)
|
||||
SWITCH_STANDARD_API(modcdr_reload)
|
||||
{
|
||||
#ifdef SWITCH_QUEUE_ENHANCED
|
||||
switch_thread_rwlock_wrlock(cdr_rwlock);
|
||||
@@ -164,7 +164,7 @@ static switch_status_t modcdr_reload(const char *dest=0, switch_core_session_t *
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static switch_status_t modcdr_queue_pause(const char *dest=0, switch_core_session_t *isession=0, switch_stream_handle_t *stream=0)
|
||||
SWITCH_STANDARD_API(modcdr_queue_pause)
|
||||
{
|
||||
#ifdef SWITCH_QUEUE_ENHANCED
|
||||
newcdrcontainer->queue_pause(stream);
|
||||
@@ -174,7 +174,7 @@ static switch_status_t modcdr_queue_pause(const char *dest=0, switch_core_sessio
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static switch_status_t modcdr_queue_resume(const char *dest=0, switch_core_session_t *isession=0, switch_stream_handle_t *stream=0)
|
||||
SWITCH_STANDARD_API(modcdr_queue_resume)
|
||||
{
|
||||
#ifdef SWITCH_QUEUE_ENHANCED
|
||||
newcdrcontainer->queue_resume(stream);
|
||||
@@ -184,13 +184,13 @@ static switch_status_t modcdr_queue_resume(const char *dest=0, switch_core_sessi
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static switch_status_t modcdr_show_active(const char *dest=0, switch_core_session_t *isession=0, switch_stream_handle_t *stream=0)
|
||||
SWITCH_STANDARD_API(modcdr_show_active)
|
||||
{
|
||||
newcdrcontainer->active(stream);
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static switch_status_t modcdr_show_available(const char *dest=0, switch_core_session_t *isession=0, switch_stream_handle_t *stream=0)
|
||||
SWITCH_STANDARD_API(modcdr_show_available)
|
||||
{
|
||||
newcdrcontainer->available(stream);
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
|
||||
Reference in new issue
Block a user