mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-21 19:45:34 +00:00
bad merge
This commit is contained in:
parent
ba625501ba
commit
6814014f7d
@ -7162,23 +7162,6 @@ void sofia_event_fire(sofia_profile_t *profile, switch_event_t **event)
|
|||||||
*event = NULL;
|
*event = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void sofia_glue_fire_events(sofia_profile_t *profile)
|
|
||||||
{
|
|
||||||
void *pop = NULL;
|
|
||||||
|
|
||||||
while (profile->event_queue && switch_queue_trypop(profile->event_queue, &pop) == SWITCH_STATUS_SUCCESS && pop) {
|
|
||||||
switch_event_t *event = (switch_event_t *) pop;
|
|
||||||
switch_event_fire(&event);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void sofia_event_fire(sofia_profile_t *profile, switch_event_t **event)
|
|
||||||
{
|
|
||||||
switch_queue_push(profile->event_queue, *event);
|
|
||||||
*event = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* For Emacs:
|
/* For Emacs:
|
||||||
* Local Variables:
|
* Local Variables:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user