git.samba.org
/
obnox
/
samba-ctdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tdb: add Bob Jenkins lookup3 hash as helper hash.
[obnox/samba-ctdb.git]
/
lib
/
tdb
/
common
/
tdb_private.h
diff --git
a/lib/tdb/common/tdb_private.h
b/lib/tdb/common/tdb_private.h
index 92a2a302f0ddd8ad0c646dd362885c4649d9c355..ca5cf324b0ecbf250abc283988c367b44eeb957c 100644
(file)
--- a/
lib/tdb/common/tdb_private.h
+++ b/
lib/tdb/common/tdb_private.h
@@
-213,3
+213,4
@@
int tdb_rec_free_read(struct tdb_context *tdb, tdb_off_t off,
struct list_struct *rec);
void tdb_header_hash(struct tdb_context *tdb,
uint32_t *magic1_hash, uint32_t *magic2_hash);
+unsigned int tdb_old_hash(TDB_DATA *key);