lmdb_sys

Function mdb_dbi_flags

Source
pub unsafe extern "C" fn mdb_dbi_flags(
    txn: *mut MDB_txn,
    dbi: MDB_dbi,
    flags: *mut c_uint,
) -> c_int
Expand description

@brief Retrieve the DB flags for a database handle.

@param[in] txn A transaction handle returned by #mdb_txn_begin() @param[in] dbi A database handle returned by #mdb_dbi_open() @param[out] flags Address where the flags will be returned. @return A non-zero error value on failure and 0 on success.