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

Function get_db_url

modules/sqlops/sqlops_db.c:58–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57
58struct db_url* get_db_url(unsigned int idx)
59{
60 unsigned int i;
61
62 for (i=0;i<no_db_urls;i++) {
63 if (db_urls[i].idx == idx)
64 return &db_urls[i];
65 }
66 return NULL;
67}
68
69
70struct db_url* get_default_db_url(void)

Callers 3

get_default_db_urlFunction · 0.85
add_db_urlFunction · 0.85
id2db_urlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected