From 118c064a473562274bff8fb47f37437db904b8fb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 20 Oct 2006 08:06:14 +0000 Subject: r19423: merge some tdb changes from SAMBA_3_0 to SAMBA_4_0 this is in preparation of a merge in the other direction (This used to be commit db3211079fd594aa03c3b9bb3eb6ad86bdd32837) --- source4/lib/tdb/common/tdb.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/lib/tdb/common/tdb.c') diff --git a/source4/lib/tdb/common/tdb.c b/source4/lib/tdb/common/tdb.c index 52e2d633b0..8d067ebecc 100644 --- a/source4/lib/tdb/common/tdb.c +++ b/source4/lib/tdb/common/tdb.c @@ -423,3 +423,8 @@ int tdb_get_seqnum(struct tdb_context *tdb) tdb_ofs_read(tdb, TDB_SEQNUM_OFS, &seqnum); return seqnum; } + +int tdb_hash_size(struct tdb_context *tdb) +{ + return tdb->header.hash_size; +} -- cgit