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

Function load_ebr_api

modules/event_routing/api.h:95–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93typedef int (*ebr_bind_f)(ebr_api_t *api);
94
95static inline int load_ebr_api(ebr_api_t *api)
96{
97 ebr_bind_f ebr_bind;
98
99 ebr_bind = (ebr_bind_f)find_export("ebr_bind", 0);
100 if (!ebr_bind) {
101 LM_ERR("failed to bind EBR API\n");
102 return -1;
103 }
104
105 ebr_bind(api);
106 return 0;
107}
108
109#endif /* __EBR_API_H__ */

Callers 1

pn_initFunction · 0.85

Calls 2

find_exportFunction · 0.85
ebr_bindFunction · 0.85

Tested by

no test coverage detected