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

Function modules_validate_reload

sr_module.c:967–983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

965
966
967int modules_validate_reload(void)
968{
969 struct sr_module *m;
970 int ret = 1;
971
972 for( m=modules ; m ; m=m->next) {
973 if (m->exports->reload_ack_f==NULL)
974 continue;
975 if (!m->exports->reload_ack_f()) {
976 LM_ERR("module <%s> did not validated the cfg file\n",
977 m->exports->name);
978 ret = 0;
979 }
980 }
981
982 return ret;
983}
984

Callers 1

reload_routing_scriptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected