MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / evi_get_id

Function evi_get_id

evi/event_interface.c:284–292  ·  view source on GitHub ↗

returns the id of an event */

Source from the content-addressed store, hash-verified

282
283/* returns the id of an event */
284event_id_t evi_get_id(str *name)
285{
286 int i;
287 for (i = 0; i < events_no; i++)
288 if (events[i].name.len == name->len &&
289 !memcmp(events[i].name.s, name->s, name->len))
290 return i;
291 return EVI_ERROR;
292}
293
294
295/* returns an event id */

Callers 9

fixup_event_nameFunction · 0.85
fixup_event_name_subsFunction · 0.85
init_ebr_eventFunction · 0.85
evi_register_coreFunction · 0.85
evi_publish_eventFunction · 0.85
evi_get_eventFunction · 0.85
w_mi_subscribers_list_1Function · 0.85
w_mi_subscribers_list_2Function · 0.85
w_mi_raise_eventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected