diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-10-20 08:06:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:21:29 -0500 |
commit | 118c064a473562274bff8fb47f37437db904b8fb (patch) | |
tree | 669454db50418bb1d07ec5b1520bae6aecf9c941 /source4/lib/tdb/common/tdb.c | |
parent | 5370afe8c2d9f4b77711010f2ce9ea4fc33886c4 (diff) | |
download | samba-118c064a473562274bff8fb47f37437db904b8fb.tar.gz samba-118c064a473562274bff8fb47f37437db904b8fb.tar.bz2 samba-118c064a473562274bff8fb47f37437db904b8fb.zip |
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)
Diffstat (limited to 'source4/lib/tdb/common/tdb.c')
-rw-r--r-- | source4/lib/tdb/common/tdb.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; +} |