diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-14 07:45:13 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-14 07:45:13 +0930 |
commit | 77d7ff6c34f16dec70da3f3abc1c19d217e944a9 (patch) | |
tree | f4d1d7c3e4e489dda24ae21950aa32b4ba6c0f9e /lib/tdb2/private.h | |
parent | 75d69ce4f7135fa82d1743fdb61e37ee0bbc1508 (diff) | |
download | samba-77d7ff6c34f16dec70da3f3abc1c19d217e944a9.tar.gz samba-77d7ff6c34f16dec70da3f3abc1c19d217e944a9.tar.xz samba-77d7ff6c34f16dec70da3f3abc1c19d217e944a9.zip |
tdb2: make jenkins_hash function non-static, rename to tdb_jenkins_hash.
We're going to need access to it from tdb1_open, so expose it now.
It's better in hash.c anyway.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from CCAN commit c8f6f8c2dea76042f74c02eff048847e62adcca6)
Diffstat (limited to 'lib/tdb2/private.h')
-rw-r--r-- | lib/tdb2/private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/tdb2/private.h b/lib/tdb2/private.h index 4f09c58848..33d756f291 100644 --- a/lib/tdb2/private.h +++ b/lib/tdb2/private.h @@ -350,6 +350,9 @@ struct tdb_methods { internal prototypes */ /* hash.c: */ +uint64_t tdb_jenkins_hash(const void *key, size_t length, uint64_t seed, + void *unused); + tdb_bool_err first_in_hash(struct tdb_context *tdb, struct traverse_info *tinfo, TDB_DATA *kbuf, size_t *dlen); |