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

Function load_b2b_api

modules/b2b_entities/b2be_load.h:198–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196typedef int(*load_b2b_f) (b2b_api_t* api);
197
198static inline int load_b2b_api( struct b2b_api *b2b_api)
199{
200 load_b2b_f load_b2b;
201
202 /* import the b2b_entities auto-loading function */
203 if ( !(load_b2b=(load_b2b_f)find_export("load_b2b", 0))) {
204 LM_ERR("can't import load_b2b\n");
205 return -1;
206 }
207
208 /* let the auto-loading function load all B2B entities stuff */
209 return load_b2b( b2b_api );
210}
211
212#define run_b2be_api(_b2b_api, _api_func, _args...) \
213 ({ \

Callers 5

mod_preinitFunction · 0.85
mod_initFunction · 0.85
mod_initFunction · 0.85
mod_preinitFunction · 0.85
mod_initFunction · 0.85

Calls 1

find_exportFunction · 0.85

Tested by

no test coverage detected