/** * Shut down the database module. * No function should be called after this * \param _h handle to the closed connection * \return zero on success, negative value on failure */ void db_mysql_close(db1_con_t* _h) { db_do_close(_h, db_mysql_free_connection); }
/** * Shut down the database module. * No function should be called after this * \param _h handle to the closed connection * \return zero on success, negative value on failure */ void db_sqlite_close(db_con_t* _h) { db_do_close(_h, db_sqlite_free_connection); }
void db_postgres_close(db_con_t* _h) { db_do_close(_h, db_postgres_free_connection); }
/* * Shut down database module * No function should be called after this */ void db_oracle_close(db1_con_t* _h) { db_do_close(_h, db_oracle_free_connection); }
/* * Shut down database module * No function should be called after this */ void db_mongodb_close(db1_con_t* _h) { db_do_close(_h, db_mongodb_free_connection); }
/* * Shut down database module * No function should be called after this */ void db_unixodbc_close(db1_con_t* _h) { return db_do_close(_h, db_unixodbc_free_connection); }
/** * Shut down the database module. * No function should be called after this * \param _h handle to the closed connection * \return zero on success, negative value on failure */ void erlang_srdb1_close(db1_con_t* _h) { LM_DBG("erlang_erlang_srdb1_close %p \n",_h); db_do_close(_h, erlang_srdb1_free_connection); }