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

Function get_default_db_url

modules/sqlops/sqlops_db.c:70–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68
69
70struct db_url* get_default_db_url(void)
71{
72 struct db_url *url;
73
74 url = get_db_url( 0 );
75 if (url!=NULL)
76 return url;
77 if (no_db_urls==0)
78 return NULL;
79 return &db_urls[0];
80}
81
82
83int add_db_url(modparam_t type, void *val)

Callers 1

sqlops_initFunction · 0.85

Calls 1

get_db_urlFunction · 0.85

Tested by

no test coverage detected