Berkeley DB: log_compare
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++

# log_compare |

`

###

    #include <db.h>

    int
    log_compare(const DB_LSN *lsn0, const DB_LSN *lsn1);

# Description

The log_compare function allows the caller to compare two DB_LSN structures, returning 0 if they are equal, 1 if lsn0 is greater than lsn1, and -1 if lsn0 is less than lsn1.

# See Also

DBENV->set_lg_bsize, DBENV->set_lg_max, log_archive, log_compare, log_file, log_flush, log_get, log_put, log_register, log_stat and log_unregister.`

Copyright Sleepycat Software