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

Function group_db_init

modules/group/group.c:174–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172
173
174int group_db_init(const str* db_url)
175{
176 if (group_dbf.init==0){
177 LM_CRIT("null dbf \n");
178 goto error;
179 }
180 group_dbh=group_dbf.init(db_url);
181 if (group_dbh==0){
182 LM_ERR("unable to connect to the database\n");
183 goto error;
184 }
185 return 0;
186error:
187 return -1;
188}
189
190
191int group_db_bind(const str* db_url)

Callers 2

child_initFunction · 0.85
mod_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected