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

Function load_sl_api

modules/sl/sl_api.h:43–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42
43static inline int load_sl_api( struct sl_binds *slb )
44{
45 load_sl_f load_sl;
46
47 /* import the SL auto-loading function */
48 if ( !(load_sl=(load_sl_f)find_export("load_sl", 0))) {
49 LM_ERR("can't import load_sl\n");
50 return -1;
51 }
52 /* let the auto-loading function load all TM stuff */
53 if (load_sl( slb )==-1)
54 return -1;
55
56 return 0;
57}
58
59
60#endif

Callers 2

mod_initFunction · 0.85
mod_initFunction · 0.85

Calls 2

find_exportFunction · 0.85
load_slFunction · 0.85

Tested by

no test coverage detected