]> git.ozlabs.org Git - ccan/commit
tdb: add Bob Jenkins lookup3 hash as helper hash.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 24 Sep 2010 04:07:04 +0000 (13:37 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 24 Sep 2010 04:07:04 +0000 (13:37 +0930)
commitd117f992bde6b7157a8eecbce8a026f2aa7ab4ae
tree9e1173c0e4bd03fdd130170067d32417fd6847a3
parent9cbb97f3ac06d717afe4ced2c4f624078bb88396
tdb: add Bob Jenkins lookup3 hash as helper hash.

This is a better hash than the default: shipping it with tdb makes it easy
for callers to use it as the hash by passing it to tdb_open_ex().
22 files changed:
ccan/tdb/_info
ccan/tdb/hash.c [new file with mode: 0644]
ccan/tdb/open.c
ccan/tdb/tdb.h
ccan/tdb/tdb_private.h
ccan/tdb/test/run-3G-file.c
ccan/tdb/test/run-bad-tdb-header.c
ccan/tdb/test/run-check.c
ccan/tdb/test/run-corrupt.c
ccan/tdb/test/run-die-during-transaction.c
ccan/tdb/test/run-endian.c
ccan/tdb/test/run-nested-transactions.c
ccan/tdb/test/run-nested-traverse.c
ccan/tdb/test/run-no-lock-during-traverse.c
ccan/tdb/test/run-oldhash.c
ccan/tdb/test/run-open-during-transaction.c
ccan/tdb/test/run-readonly-check.c
ccan/tdb/test/run-rwlock-check.c
ccan/tdb/test/run-traverse-in-transaction.c
ccan/tdb/test/run-wronghash-fail.c
ccan/tdb/test/run-zero-append.c
ccan/tdb/test/run.c