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

Function mod_init

modules/path/path_mod.c:139–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137
138
139static int mod_init(void)
140{
141 LM_INFO("initializing...\n");
142
143 if (use_received) {
144 if (load_rr_api(&path_rrb) != 0) {
145 LM_ERR("failed to load rr-API\n");
146 return -1;
147 }
148 if (path_rrb.register_rrcb(path_rr_callback, 0, 0) != 0) {
149 LM_ERR("failed to register rr callback\n");
150 return -1;
151 }
152 }
153
154 return 0;
155}
156
157
158static void destroy(void)

Callers

nothing calls this directly

Calls 1

load_rr_apiFunction · 0.85

Tested by

no test coverage detected