update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5182 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
614177acd9
commit
46043b05e0
|
@ -690,7 +690,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_queue_event(switch_core_sess
|
|||
\param session the session to check
|
||||
\return the number of events
|
||||
*/
|
||||
SWITCH_DECLARE(int32_t) switch_core_session_event_count(switch_core_session_t *session);
|
||||
SWITCH_DECLARE(uint32_t) switch_core_session_event_count(switch_core_session_t *session);
|
||||
|
||||
/*!
|
||||
\brief DE-Queue an event on a given session
|
||||
|
@ -714,7 +714,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_queue_private_event(switch_c
|
|||
\param session the session to check
|
||||
\return the number of events
|
||||
*/
|
||||
SWITCH_DECLARE(int32_t) switch_core_session_private_event_count(switch_core_session_t *session);
|
||||
SWITCH_DECLARE(uint32_t) switch_core_session_private_event_count(switch_core_session_t *session);
|
||||
|
||||
/*!
|
||||
\brief DE-Queue a private event on a given session
|
||||
|
|
|
@ -500,13 +500,13 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_queue_event(switch_core_sess
|
|||
return status;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(int32_t) switch_core_session_event_count(switch_core_session_t *session)
|
||||
SWITCH_DECLARE(uint32_t) switch_core_session_event_count(switch_core_session_t *session)
|
||||
{
|
||||
if (session->event_queue) {
|
||||
return (int32_t) switch_queue_size(session->event_queue);
|
||||
return switch_queue_size(session->event_queue);
|
||||
}
|
||||
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_core_session_dequeue_event(switch_core_session_t *session, switch_event_t **event)
|
||||
|
@ -547,13 +547,13 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_queue_private_event(switch_c
|
|||
return status;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(int32_t) switch_core_session_private_event_count(switch_core_session_t *session)
|
||||
SWITCH_DECLARE(uint32_t) switch_core_session_private_event_count(switch_core_session_t *session)
|
||||
{
|
||||
if (session->private_event_queue) {
|
||||
return (int32_t) switch_queue_size(session->private_event_queue);
|
||||
return switch_queue_size(session->private_event_queue);
|
||||
}
|
||||
|
||||
return -1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_core_session_dequeue_private_event(switch_core_session_t *session, switch_event_t **event)
|
||||
|
|
Loading…
Reference in New Issue