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

Function db_sqlite_init

modules/db_sqlite/dbase.c:73–76  ·  view source on GitHub ↗

* Initialize the database module. * No function should be called before this * \param _url URL used for initialization * \return zero on success, negative value on failure */

Source from the content-addressed store, hash-verified

71 * \return zero on success, negative value on failure
72 */
73db_con_t* db_sqlite_init(const str* _url)
74{
75 return db_do_init(_url, (void *)db_sqlite_new_connection);
76}
77
78/**
79 * Shut down the database module.

Callers

nothing calls this directly

Calls 1

db_do_initFunction · 0.85

Tested by

no test coverage detected