Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

SOFIAPUBFUN nea_event_t* nea_event_get ( nea_server_t const *  nes,
char const *  e 

Find a nea event object with given event name

Get named event

Definition at line 1349 of file nea_server.c.

References nea_event_s::ev_event, nea_event_s::ev_next, nea_server_s::nes_events, and sip_event_s::o_type.

  nea_event_t *ev = NULL;

  for (ev = nes->nes_events; ev; ev = ev->ev_next)
    if (e == NULL || strcmp(ev->ev_event->o_type, e) == 0)

  return ev;

Generated by  Doxygen 1.6.0   Back to index