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

Function load_clusterer_api

modules/clusterer/api.h:323–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321int load_clusterer(struct clusterer_binds *binds);
322
323static inline int load_clusterer_api(struct clusterer_binds *binds) {
324 load_clusterer_f load_clusterer;
325
326 /* import the clusterer auto-loading function */
327 if (!(load_clusterer = (load_clusterer_f) find_export("load_clusterer", 0)))
328 return -1;
329
330 /* let the auto-loading function load all clusterer API functions */
331 if (load_clusterer(binds) == -1)
332 return -1;
333
334 return 0;
335}
336
337/* function used to add dependencies to clusterer module */
338static inline module_dependency_t *get_deps_clusterer(const param_export_t *param)

Callers 14

nt_init_clusterFunction · 0.85
init_pua_clusteringFunction · 0.85
ds_init_clusterFunction · 0.85
lb_init_clusterFunction · 0.85
init_pres_clusteringFunction · 0.85
mod_initFunction · 0.85
ureg_init_clusterFunction · 0.85
b2be_init_clusteringFunction · 0.85
nh_init_clusterFunction · 0.85
ul_init_clusterFunction · 0.85
mod_initFunction · 0.85
tm_init_clusterFunction · 0.85

Calls 2

find_exportFunction · 0.85
load_clustererFunction · 0.85

Tested by

no test coverage detected