Ejemplo n.º 1
0
int
eXosip_event_add (eXosip_event_t * je)
{
  int i = osip_fifo_add (eXosip.j_events, (void *) je);

#ifdef OSIP_MT
#if !defined (_WIN32_WCE)
  osip_cond_signal ((struct osip_cond *) eXosip.j_cond);
#endif
#endif

  __eXosip_wakeup_event ();
  return i;
}
Ejemplo n.º 2
0
PPL_DECLARE (int) psp_core_event_add_sfp_inc_traffic (osip_transaction_t * inc_tr)
{
  osip_fifo_add (core->sfp->osip_message_traffic, inc_tr);
  module_wakeup (core->sfp->module);
  return 0;
}
Ejemplo n.º 3
0
PPL_DECLARE (int) psp_core_event_add_sfull_cancel (osip_transaction_t * tr_cancel)
{
  osip_fifo_add (core->sfp->sfull_cancels, tr_cancel);
  module_wakeup (core->sfp->module);
  return 0;
}
Ejemplo n.º 4
0
PPL_DECLARE (int) psp_core_event_add_sfull_request (psp_request_t * req)
{
  osip_fifo_add (core->sfp->sfull_request, req);
  module_wakeup (core->sfp->module);
  return 0;
}
Ejemplo n.º 5
0
PPL_DECLARE (int) psp_core_event_add_sfp_inc_ack (osip_message_t * ack)
{
  osip_fifo_add (core->sfp->sip_ack, ack);
  module_wakeup (core->sfp->module);
  return 0;
}