+ /** @brief Close a database handle.
+ *
+ * This call is not mutex protected. Handles should only be closed by
+ * a single thread, and only if no other threads are going to reference
+ * the database handle any further.
+ * @param[in] env An environment handle returned by #mdb_env_create()
+ * @param[in] dbi A database handle returned by #mdb_open()
+ */
+void mdb_close(MDB_env *env, MDB_dbi dbi);
+
+ /** @brief Delete a database and/or free all its pages.
+ *
+ * If the \b del parameter is non-zero the DB handle will be closed
+ * and the DB will be deleted.