Function DB-OPEN creates and opens a new Database params: env = Environment the database shall be opened in txn = Transaction db = Database in File (optional) mo
(defmethod+ ("db_get_dbname" db-dbname) :error-int (db :pointer :class (db db-handle)) (filenamemap :out :string) (dbnamep :out :string))
Method (DB-PUT DB-TXN T T) callback returns a cbuffer, which will be freed by this put function
(defmethod+ ("db_remove" db-remove) :int (db :pointer :class (db db-handle)) (dbfile :string) (dbname :string) (flags :uint32 :const 0))
(defmethod+ ("db_rename" db-rename) :int (db :pointer :class (db db-handle)) (dbfile :string) (dbname :string) (newname :string) (flags :uint32 :const 0))
(defmethod+ ("db_truncate" db-truncate) :int (db :pointer :class (db db-handle)) (txn :pointer :key :class txn-handle) (countp :out :uint32) (flags :uint32 :const 0))
(defmethod+ ("db_sync" db-sync) :int (db :pointer :class (db db-handle)) (flags :uint32 :const 0))