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

Function dp_load_all_db

modules/dialplan/dp_db.c:223–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223int dp_load_all_db(int initial)
224{
225 dp_connection_list_t *el;
226
227 for (el = dp_conns; el; el = el->next) {
228 if (dp_load_db(el, initial) < 0) {
229 LM_ERR("unable to load %.*s table\n",
230 el->table_name.len, el->table_name.s);
231 return -1;
232 }
233 }
234 return 0;
235}
236
237void dp_disconnect_all_db(void)
238{

Callers 2

dp_rpc_data_loadFunction · 0.85
mi_reload_rulesFunction · 0.85

Calls 1

dp_load_dbFunction · 0.85

Tested by

no test coverage detected